RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Chances are you don't have the file permissions correct on the Linux side. Make sure that either the user has read rights, or that the user belongs to the group owning the file and that the group has read rights. Samba honors Linux file permissions. HTH Rick > OK. I have another question on getting samba properly configured. I'm at > a point where I can see the samba server in My Network Places on my W2K > domain. I've created a share to house the files on both the w2k side and > the linux server. I've also created the root and my user accounts in AD. > Yet when I attempt to access either of these shares from the servers I > get access denied errors. What am I missing here? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > marvc > Sent: Sunday, June 08, 2003 12:51 AM > To: 'Tori Williamson'; 'Sameer Zeidat'; [EMAIL PROTECTED] > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Thanks for the help and advice on using the rpm's. The install was a > successful one and I'm on my way. Glad this lists exists and that there > are generally nice people on it who don't mind helping the newbies. > > -Original Message- > From: Tori Williamson [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 08, 2003 12:10 AM > To: marvc; 'Sameer Zeidat'; [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > No worries... installing RPMs is SUPER simple. You'll be happier going > this > route: > > Stop samba and delete the dir (I believe /usr/local/samba). > > Then install the RPM's in this order thusly: > > #> rpm -ivh samba-common-2.2.7-1.i386.rpm > #> rpm -ivh samba-server-2.2.7-1.i386.rpm > #> rpm -ivh samba-swat-2.2.7-1.i386.rpm > > You shouldn't need the samba-client, since you won't be conecting that > server to any other samba server. > > After install, run "/etc/init.d/smb start". the smb.conf file is located > in /etc/samba. NOTE: once you edit the smb.conf file, you need to > restart > samba: "/etc/init.d/smb restart". > > email me if you have any problems. :-) > > Tori > - Original Message - > From: "marvc" <[EMAIL PROTECTED]> > To: "'Tori Williamson'" <[EMAIL PROTECTED]>; "'Sameer Zeidat'" > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, June 07, 2003 5:35 PM > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > >> I'll try the samba rpm's. I have just one question before I begin, and > >> I apologize in advance if this sounds a little dumb. Once I download >> each of the rpm's do I have to configure each of them or just one of >> them? I could never get this question answered that's why I switched >> to using tar files. If anyone here can answer this or point me to >> something that'll help me understand this I'll be greatly appreciated. > >> tia >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf >> Of Tori Williamson >> Sent: Saturday, June 07, 2003 8:12 PM >> To: Sameer Zeidat; [EMAIL PROTECTED] >> Subject: Re: [Samba] samba newbie having trouble configuring samba on >> RH7.3... >> >> >> Marv, >> >> My vote is with Sameer... read his prior letter and download the 4 >> rpms and install them. It will TRULY make your life easier. Being that > >> you're using Samba at home, you're not going to gain anything over >> source vs. RPM. If this was a production deployment, I'd probably say >> different. But you'll have much easier control over the RPMS. >> >> I had forgotten that you compiled from source. All yu need to do is >> dump the /usr/local/samba dir (after stopping samba of course). Then >> install the RPMS and start samba: "/etc/init.d/smb start" >> >> tori >> - Original Message - >> From: "Sameer Zeidat" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Saturday, June 07, 2003 4:08 PM >> Subject: RE: [Samba] samba newbie having trouble configuring samba on >> RH7.3... >> >> >> > Hi .. >> > >> > Ok .. swat isn't there because you compiled samba and installed it >> using the default location '/usr/local/samba-2.2.8a' .. so even if >> you >> >> > create 'swat' manually my guess is that you'll run into other >> > problems >> >> > because of this location. >> > >> > For example, the binaries will be under >> > '/usr/local/samba-2.2.8a/bin' which is not in the default path. >> > >> > Anyway, I'm trying to tell you that your best bet is to use RPMs >> instead of that. >> > >> > Good luck >> > >> > >> > >Thanks >> > >swat wasn't located in xinetd so I ended up creating it and adding >> disable=no line. I don't know if this was necessary but I wasn't >> able >> >> > >to find it. >> > >> > >> > >> > __ >> > Do you Yahoo!? >> > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). >> http://calendar.yahoo.com >> > -- >> > To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.or
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
OK. I have another question on getting samba properly configured. I'm at a point where I can see the samba server in My Network Places on my W2K domain. I've created a share to house the files on both the w2k side and the linux server. I've also created the root and my user accounts in AD. Yet when I attempt to access either of these shares from the servers I get access denied errors. What am I missing here? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of marvc Sent: Sunday, June 08, 2003 12:51 AM To: 'Tori Williamson'; 'Sameer Zeidat'; [EMAIL PROTECTED] Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... Thanks for the help and advice on using the rpm's. The install was a successful one and I'm on my way. Glad this lists exists and that there are generally nice people on it who don't mind helping the newbies. -Original Message- From: Tori Williamson [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 12:10 AM To: marvc; 'Sameer Zeidat'; [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... No worries... installing RPMs is SUPER simple. You'll be happier going this route: Stop samba and delete the dir (I believe /usr/local/samba). Then install the RPM's in this order thusly: #> rpm -ivh samba-common-2.2.7-1.i386.rpm #> rpm -ivh samba-server-2.2.7-1.i386.rpm #> rpm -ivh samba-swat-2.2.7-1.i386.rpm You shouldn't need the samba-client, since you won't be conecting that server to any other samba server. After install, run "/etc/init.d/smb start". the smb.conf file is located in /etc/samba. NOTE: once you edit the smb.conf file, you need to restart samba: "/etc/init.d/smb restart". email me if you have any problems. :-) Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Tori Williamson'" <[EMAIL PROTECTED]>; "'Sameer Zeidat'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 5:35 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > I'll try the samba rpm's. I have just one question before I begin, and > I apologize in advance if this sounds a little dumb. Once I download > each of the rpm's do I have to configure each of them or just one of > them? I could never get this question answered that's why I switched > to using tar files. If anyone here can answer this or point me to > something that'll help me understand this I'll be greatly appreciated. > tia > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tori Williamson > Sent: Saturday, June 07, 2003 8:12 PM > To: Sameer Zeidat; [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > My vote is with Sameer... read his prior letter and download the 4 > rpms and install them. It will TRULY make your life easier. Being that > you're using Samba at home, you're not going to gain anything over > source vs. RPM. If this was a production deployment, I'd probably say > different. But you'll have much easier control over the RPMS. > > I had forgotten that you compiled from source. All yu need to do is > dump the /usr/local/samba dir (after stopping samba of course). Then > install the RPMS and start samba: "/etc/init.d/smb start" > > tori > - Original Message - > From: "Sameer Zeidat" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 07, 2003 4:08 PM > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > > Hi .. > > > > Ok .. swat isn't there because you compiled samba and installed it > > using the default location '/usr/local/samba-2.2.8a' .. so even if > > you > > > create 'swat' manually my guess is that you'll run into other > > problems > > > because of this location. > > > > For example, the binaries will be under > > '/usr/local/samba-2.2.8a/bin' which is not in the default path. > > > > Anyway, I'm trying to tell you that your best bet is to use RPMs > > instead of that. > > > > Good luck > > > > > > >Thanks > > >swat wasn't located in xinetd so I ended up creating it and adding > > >disable=no line. I don't know if this was necessary but I wasn't > > >able > > > >to find it. > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > > http://calendar.yahoo.com > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailm
Re: [Samba] Logon Script
Create a share [netlogon] that your users only have read access to. The logon script = parameter will then be relative to the path designated in that share. For instance, if [netlogon] points to /usr/local/samba/netlogon and you have login script = %U.bat then /usr/local/samba/netlogon/fred.bat will be launched when the user fred authenticates. HTH Rick > I created script files for users and the machines to execute when the > machines connected or the users logged on to the server. I wasn't sure > where the files were suppose to go, so I put "logon script = > %U.bat" and "logon script = %I.bat". Would that syntax work > and how do I test it? Do the files need to be executable? > > -- > Note: When you reply to this message, please include the mailing > list address and my email address in To: and/or Cc: with > any proper combination > > * > Signed, > SoloCDM > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Thanks for the help and advice on using the rpm's. The install was a successful one and I'm on my way. Glad this lists exists and that there are generally nice people on it who don't mind helping the newbies. -Original Message- From: Tori Williamson [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 12:10 AM To: marvc; 'Sameer Zeidat'; [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... No worries... installing RPMs is SUPER simple. You'll be happier going this route: Stop samba and delete the dir (I believe /usr/local/samba). Then install the RPM's in this order thusly: #> rpm -ivh samba-common-2.2.7-1.i386.rpm #> rpm -ivh samba-server-2.2.7-1.i386.rpm #> rpm -ivh samba-swat-2.2.7-1.i386.rpm You shouldn't need the samba-client, since you won't be conecting that server to any other samba server. After install, run "/etc/init.d/smb start". the smb.conf file is located in /etc/samba. NOTE: once you edit the smb.conf file, you need to restart samba: "/etc/init.d/smb restart". email me if you have any problems. :-) Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Tori Williamson'" <[EMAIL PROTECTED]>; "'Sameer Zeidat'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 5:35 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > I'll try the samba rpm's. I have just one question before I begin, and > I apologize in advance if this sounds a little dumb. Once I download > each of the rpm's do I have to configure each of them or just one of > them? I could never get this question answered that's why I switched > to using tar files. If anyone here can answer this or point me to > something that'll help me understand this I'll be greatly appreciated. > tia > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tori Williamson > Sent: Saturday, June 07, 2003 8:12 PM > To: Sameer Zeidat; [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > My vote is with Sameer... read his prior letter and download the 4 > rpms and install them. It will TRULY make your life easier. Being that > you're using Samba at home, you're not going to gain anything over > source vs. RPM. If this was a production deployment, I'd probably say > different. But you'll have much easier control over the RPMS. > > I had forgotten that you compiled from source. All yu need to do is > dump the /usr/local/samba dir (after stopping samba of course). Then > install the RPMS and start samba: "/etc/init.d/smb start" > > tori > - Original Message - > From: "Sameer Zeidat" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 07, 2003 4:08 PM > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > > Hi .. > > > > Ok .. swat isn't there because you compiled samba and installed it > > using the default location '/usr/local/samba-2.2.8a' .. so even if > > you > > > create 'swat' manually my guess is that you'll run into other > > problems > > > because of this location. > > > > For example, the binaries will be under > > '/usr/local/samba-2.2.8a/bin' which is not in the default path. > > > > Anyway, I'm trying to tell you that your best bet is to use RPMs > > instead of that. > > > > Good luck > > > > > > >Thanks > > >swat wasn't located in xinetd so I ended up creating it and adding > > >disable=no line. I don't know if this was necessary but I wasn't > > >able > > > >to find it. > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > > http://calendar.yahoo.com > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
OK! Downloaded and installed the RPM's and everything appears to be going pretty smooth as I can log in to swat and make the necessary modifications. I'm going to take a minute and read over the security options section as I'm not sure of the best option to use here. I think I'd like to use this server simply to access files from a share on a w2k server. These files would then be copied to the /wwwroot directory to be posted to my web sites. Anyone have any recommendations for which option would be best for this? Oh and thanks again for the help on this. Here's my "how I did it" for any newbies interested. Hopefully its correct: Download, Install, & Configure Samba ver2.2.7 for RH ver7.3 Download Samba ver2.2.7 RPM's 1. Download the latest version of Samba from the following location: http://updates.redhat.com/7.3/en/os/i386 2. Click the samba download link on the page. 3. The "Downloading samba-latest.tar.gz" window opens providing options for saving the file. 4. Make sure the "Save this file to disk" option is selected and click "OK" to continue. 5. The "Enter name of the file to save to." window opens prompting you to select a location to save the file to. Select the location and click "Save" to continue. 6. Click the "Close" button after the download completes. 7. Download the following Samba RPM's: samba-2.2.7-3.7.3.i386.rpm samba-client-2.2.7-3.7.3.i386.rpm samba-common-2.2.7-3.7.3.i386.rpm samba-swat-2.2.7-3.7.3.i386.rpm Install Samba ver2.2.7 1. Open a term window and navigate to the location the "samba-common-2.2.7-3.7.3.i386.rpm" file was downloaded to: cd /usr/local/samba-common-2.2.7-3.7.3.i386.rpm 2. Type the following command to install the "samba-common-2.2.7-3.7.3.i386.rpm" rpm file: rpm -ivh samba-common-2.2.7-3.7.3.i386.rpm 3. The files are installed and you should see "100%" as a sign of completion. 4. Next install the "samba-2.2.7-3.7.3.i386.rpm" file by typing the following command: rpm -ivh samba-2.2.7-3.7.3.i386.rpm 5. The files are installed and you should see "100%" as a sign of completion. 6. Next install the "samba-client-2.2.7-3.7.3.i386.rpm" file by typing the following command: rpm -ivh samba-client-2.2.7-3.7.3.i386.rpm 7. The files are installed and you should see "100%" as a sign of completion. 8. Lastly install the "samba-swat-2.2.7-3.7.3.i386.rpm" file by typing the following command: rpm -ivh samba-swat-2.2.7-3.7.3.i386.rpm 9. The files are installed and you should see "100%" as a sign of completion. Configure Samba ver2.2.7 1. Now that we've downloaded and configured samba onto our system, we need to edit the necessary file(s) to make the configuration changes we want. First let's check to make sure all of our samba files are installed. Do this by typing the following command: rpm -qa | grep samba 2. This should return the following: samba-swat-2.2.7-3.7.3 samba-common-2.2.7-3.7.3 samba-2.2.7-3.7.3 samba-client-2.2.7-3.7.3 3. This output informs us of all of the files installed with samba, including swat. Start the Samba Service and SWAT 4. Now we need to start the samba service. We do this by first navigating to the /samba directory: cd /etc/samba 5. Now we type the following command: service smb start 6. You should see the following: Starting SMB services: [OK] Starting NMB services: [OK] 7. You can also confirm the status of the samba service by using the "Service Configuration Tool". This tool allows you to stop and start the service via a GUI interface. 8. While inside of the "Service Configuration Tool" you also want to make sure the following services are checked and started: smb - Acronym for the Samba service swat - the swat service xinetd - 9. At this point the samba service is started and you're ready to log in to the swat tool. 10. Open a web browser and type the following in the "Address" field: http://127.0.0.1:901 11. This allows you to connect to swat on the local server at port 901. 12. If all goes well you should see a login window prompting you to "Enter username and password for SWAT at 127.0.0.1:901". Note: if all didn't go well you were greeted with the following error after trying to access swat: "The connection was refused when attempting to contact 127.0.0.1:901". This is due to a modification that needs to be made to the "swat" file. 13. Open a term window and navigate to the /etc/inetd directory and locate the "swat" file. 14. Right-click this file, select "Open With", and choose "GNU Emacs" or "gedit". 15. Go to the last line of the file and make sure the following is showing: disable = no 16. This means if you see "Yes", change it to "no". Save and close the file when finished. 17. After saving and closing this file you need to restart the "xinetd" service. Do this by navigating to the "/etc" directory and typing the following command: cd /etc Service
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
No worries... installing RPMs is SUPER simple. You'll be happier going this route: Stop samba and delete the dir (I believe /usr/local/samba). Then install the RPM's in this order thusly: #> rpm -ivh samba-common-2.2.7-1.i386.rpm #> rpm -ivh samba-server-2.2.7-1.i386.rpm #> rpm -ivh samba-swat-2.2.7-1.i386.rpm You shouldn't need the samba-client, since you won't be conecting that server to any other samba server. After install, run "/etc/init.d/smb start". the smb.conf file is located in /etc/samba. NOTE: once you edit the smb.conf file, you need to restart samba: "/etc/init.d/smb restart". email me if you have any problems. :-) Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Tori Williamson'" <[EMAIL PROTECTED]>; "'Sameer Zeidat'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 5:35 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > I'll try the samba rpm's. I have just one question before I begin, and I > apologize in advance if this sounds a little dumb. Once I download each > of the rpm's do I have to configure each of them or just one of them? I > could never get this question answered that's why I switched to using > tar files. If anyone here can answer this or point me to something > that'll help me understand this I'll be greatly appreciated. > tia > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Tori Williamson > Sent: Saturday, June 07, 2003 8:12 PM > To: Sameer Zeidat; [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > My vote is with Sameer... read his prior letter and download the 4 rpms > and install them. It will TRULY make your life easier. Being that you're > using Samba at home, you're not going to gain anything over source vs. > RPM. If this was a production deployment, I'd probably say different. > But you'll have much easier control over the RPMS. > > I had forgotten that you compiled from source. All yu need to do is dump > the /usr/local/samba dir (after stopping samba of course). Then install > the RPMS and start samba: "/etc/init.d/smb start" > > tori > - Original Message - > From: "Sameer Zeidat" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 07, 2003 4:08 PM > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > > Hi .. > > > > Ok .. swat isn't there because you compiled samba and installed it > > using the default location '/usr/local/samba-2.2.8a' .. so even if you > > > create 'swat' manually my guess is that you'll run into other problems > > > because of this location. > > > > For example, the binaries will be under '/usr/local/samba-2.2.8a/bin' > > which is not in the default path. > > > > Anyway, I'm trying to tell you that your best bet is to use RPMs > > instead of that. > > > > Good luck > > > > > > >Thanks > > >swat wasn't located in xinetd so I ended up creating it and adding > > >disable=no line. I don't know if this was necessary but I wasn't able > > > >to find it. > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > > http://calendar.yahoo.com > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Accepting Time Server
On Saturday 07 June 2003 22:06, Tom Diehl wrote: > > Samba's time service is most useful for Win9x systems as there are no > > security constraints that prevent the above "net time /set" command from > > properly executing. For Windows 2k/XP, users without admin privileges > > cannot successfully execute said command so its usefulness in a log on > > script for these machines is normally dubious. For Win2k/XP it is more > > FWIW, This is configurable in 2K and I would think XP. You can easily let > an unprivileged user set the clock. you just have to tell 2K to allow it. Right, though not the default and I don't think it is particularly desirable. There are other defaults that I'm not so enamored with but I think this one is a pretty good idea. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Accepting Time Server
On 7 Jun 2003, Chris Smith wrote: > On Sat, 2003-06-07 at 16:36, SoloCDM wrote: > > > How does Microsoft Windows know to grab the time off the Linux server? > > In regards to Samba's time service the Windows system simply performs a > "net time /set" command, executed manually or via a script. > > > Is ntpd needed on the Linux server to execute net time? > > Not to use Samba's time service which emulates the NT4 time service. > > Samba's time service is most useful for Win9x systems as there are no > security constraints that prevent the above "net time /set" command from > properly executing. For Windows 2k/XP, users without admin privileges > cannot successfully execute said command so its usefulness in a log on > script for these machines is normally dubious. For Win2k/XP it is more FWIW, This is configurable in 2K and I would think XP. You can easily let an unprivileged user set the clock. you just have to tell 2K to allow it. > desirable to run an ntp server and use the "net time /setsntp:1.2.3.4" > where 1.2.3.4 represents the IP address of the ntp server command and > these systems will sync periodically with said ntp server. > > In my case I run both xntpd and the Samba time service. If the logon > script finds a Win9x/ME box it runs the proper "net time /set" command, > otherwise it doesn't as the 2k and XP boxes will use the ntp service. > > > > -- ..Tom CLUELESSNESS: There Are No Stupid Questions, But [EMAIL PROTECTED] There Are LOTS of Inquisitive Idiots. :-) Registered Linux User #14522http://counter.li.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Accepting Time Server
On Sat, 2003-06-07 at 16:36, SoloCDM wrote: > How does Microsoft Windows know to grab the time off the Linux server? In regards to Samba's time service the Windows system simply performs a "net time /set" command, executed manually or via a script. > Is ntpd needed on the Linux server to execute net time? Not to use Samba's time service which emulates the NT4 time service. Samba's time service is most useful for Win9x systems as there are no security constraints that prevent the above "net time /set" command from properly executing. For Windows 2k/XP, users without admin privileges cannot succesfully execute said command so its usefulness in a log on script for these machines is normally dubious. For Win2k/XP it is more desirable to run an ntp server and use the "net time /setsntp:1.2.3.4" where 1.2.3.4 represents the IP address of the ntp server command and these systems will sync periodically with said ntp server. In my case I run both xntpd and the Samba time service. If the logon script finds a Win9x/ME box it runs the proper "net time /set" command, otherwise it doesn't as the 2k and XP boxes will use the ntp service. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access is Denied
In TEST 7, you haven't supplied a password, which is required of your tmp share. Other ideas: You have guest account = nobody in globals and guess only = yes in the share dennis. According to man smb.conf, no matter who you say you are, you will be logged in as nobody on that share. I am not sure if this is good or bad. I have success with guest account = ftp and security = user in global and guest ok = yes in the share. I would leave off guest only = yes, for now. You have to make sure that the permissions on the the directory allow your guest user access to the share.. Joel n Sat, Jun 07, 2003 at 01:53:14PM -0700, Dennis Krinke wrote: > I have a debian linux computer called 'dads' > and a win98 conputer called 'moms' > I want to be able to transfer files from 'moms' to 'dads' using samba. > 'dads' has these debian packages: > ii samba 2.2.3a-12.3A LanManager like file and printer > server fo > ii samba-common 2.2.3a-12.3Samba common files used by both the > server a > ii samba-doc 2.2.3a-12.3Samba documentation. > > Some features of samba seem to be working, > I can see 'dads' in network neighborhood from 'moms', > but when I try to copy files to 'dad', > win98 tells me: > Cannot copy filexxx Access is denied > Make sure the disk is not full or write protested > and that the file is not currently in use. > > and no files are transferred. > I have attached testparm.txt and > /etc/samba/smb.conf > > What do I need to fix? > TIA, > Dennis Krinke > > > per DIAGNOSIS.txt: > TEST 1: > testparm smb.conf >testparm.txt > (see testparm.txt) > > TEST2: > ping dads > PING dads (127.0.0.1): 56 data bytes > 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.3 ms > 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms > 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms > > TEST 3: > smbclient -L dads > added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 > Password: > Anonymous login successful > Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] > > Sharename Type Comment > - --- > tmpDisk temporary files > IPC$ IPC IPC Service (dads server (Samba > 2.2.3a-12.3 for Debian)) > ADMIN$ Disk IPC Service (dads server (Samba > 2.2.3a-12.3 for Debian)) > BJ-200ex Printer lp > > Server Comment > ---- > DADS dads server (Samba 2.2.3a-12.3 for Debian) > MOMS P166 > > WorkgroupMaster > ---- > FAMILY MOMS > > TEST 4: > nmblookup -B dads __SAMBA__ > querying __SAMBA__ on 127.0.0.1 > 192.168.19.28 __SAMBA__<00> > > TEST 5: > nmblookup -B moms '*' > querying * on 192.168.19.24 > 192.168.19.24 *<00> > > TEST 6: > nmblookup -d 2 '*' > added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 > querying * on 192.168.19.255 > Got a positive name query response from 192.168.19.28 ( 192.168.19.28 ) > Got a positive name query response from 192.168.19.24 ( 192.168.19.24 ) > 192.168.19.28 *<00> > 192.168.19.24 *<00> > > TEST 7: > smbclient //dads/tmp -Udennis > added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 > Password: > Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] > tree connect failed: NT_STATUS_WRONG_PASSWORD > > > Load smb config files from smb.conf > Processing section "[homes]" > Processing section "[dennis]" > Processing section "[tmp]" > Processing section "[printers]" > Loaded services file OK. > Press enter to see a dump of your service definitions > # Global parameters > [global] > coding system = > client code page = 850 > code page directory = /usr/share/samba/codepages > workgroup = FAMILY > netbios name = > netbios aliases = > netbios scope = > server string = %h server (Samba %v) > interfaces = > bind interfaces only = No > security = SHARE > encrypt passwords = Yes > update encrypted = No > allow trusted domains = Yes > hosts equiv = > min passwd length = 5 > map to guest = Never > null passwords = No > obey pam restrictions = Yes > password server = > smb passwd file = /etc/samba/smbpasswd > root directory = > pam password change = No > passwd program = /usr/bin/passwd %u > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n . > passwd chat debug = No > username map = > password level = 0 > username level = 0 > unix password sync = No > restrict anonymous = No > lanman auth = Yes > use rhosts = No > log level = 2 > syslog = 0 > syslog only = No > log file = /var/log/samba/log.%m >
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
I'll try the samba rpm's. I have just one question before I begin, and I apologize in advance if this sounds a little dumb. Once I download each of the rpm's do I have to configure each of them or just one of them? I could never get this question answered that's why I switched to using tar files. If anyone here can answer this or point me to something that'll help me understand this I'll be greatly appreciated. tia -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tori Williamson Sent: Saturday, June 07, 2003 8:12 PM To: Sameer Zeidat; [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... Marv, My vote is with Sameer... read his prior letter and download the 4 rpms and install them. It will TRULY make your life easier. Being that you're using Samba at home, you're not going to gain anything over source vs. RPM. If this was a production deployment, I'd probably say different. But you'll have much easier control over the RPMS. I had forgotten that you compiled from source. All yu need to do is dump the /usr/local/samba dir (after stopping samba of course). Then install the RPMS and start samba: "/etc/init.d/smb start" tori - Original Message - From: "Sameer Zeidat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 4:08 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > Hi .. > > Ok .. swat isn't there because you compiled samba and installed it > using the default location '/usr/local/samba-2.2.8a' .. so even if you > create 'swat' manually my guess is that you'll run into other problems > because of this location. > > For example, the binaries will be under '/usr/local/samba-2.2.8a/bin' > which is not in the default path. > > Anyway, I'm trying to tell you that your best bet is to use RPMs > instead of that. > > Good luck > > > >Thanks > >swat wasn't located in xinetd so I ended up creating it and adding > >disable=no line. I don't know if this was necessary but I wasn't able > >to find it. > > > > __ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Marv, My vote is with Sameer... read his prior letter and download the 4 rpms and install them. It will TRULY make your life easier. Being that you're using Samba at home, you're not going to gain anything over source vs. RPM. If this was a production deployment, I'd probably say different. But you'll have much easier control over the RPMS. I had forgotten that you compiled from source. All yu need to do is dump the /usr/local/samba dir (after stopping samba of course). Then install the RPMS and start samba: "/etc/init.d/smb start" tori - Original Message - From: "Sameer Zeidat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 4:08 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > Hi .. > > Ok .. swat isn't there because you compiled samba and installed it > using the default location '/usr/local/samba-2.2.8a' .. so even if you > create 'swat' manually my guess is that you'll run into other problems > because of this location. > > For example, the binaries will be under '/usr/local/samba-2.2.8a/bin' > which is not in the default path. > > Anyway, I'm trying to tell you that your best bet is to use RPMs > instead of that. > > Good luck > > > >Thanks > >swat wasn't located in xinetd so I ended up creating it and adding > >disable=no line. I don't know if this was necessary but I wasn't able > >to > >find it. > > > > __ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: First beta of Samba 3.0.0 available for download
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 7 Jun 2003, Sameer Zeidat wrote: > Is there a 'samba-3.0.0beta1.src.rpm' ? I had problems with an rpm v3 src and rpm v4.2 (RH 9). Just do this: $ cd packaging/RedHat $ sh makerpms.sh That will build the binary and source rpms for you. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+4nxvIR7qMdg1EfYRAg9uAJ0ZpYVr0fBZw/4SbNuyvNK9kuQ9kQCbBuaY D1s6HKPm40wjaOwKK+xdkE0= =IC2v -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: First beta of Samba 3.0.0 available for download
Hi .. Is there a 'samba-3.0.0beta1.src.rpm' ? Thanks, __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Cannot connect from Linux to XP
I am using Samba Version 2.999+3.0cvs20020906-1 for Debian. I can use it fine FROM windows to access files on my linux computer. These two are the only computers on my workgroup. I am unable to conenct to my Windows XP PRO SP1 computer. Any ideas? When I do smbclient //TENSOR/mp3 -U Administrator I get: added interface ip=192.168.0.102 bcast=192.168.0.255 nmask=255.255.255.0 Password: Doing spnego session setup (blob length=16) session setup failed: NT_STATUS_LOGON_FAILURE Even when I try a user with no password: added interface ip=192.168.0.102 bcast=192.168.0.255 nmask=255.255.255.0 Password: Doing spnego session setup (blob length=16) Anonymous login successful Domain=[BEAMS] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED -- Enrico Ng <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: First beta of Samba 3.0.0 available for download
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 8 Jun 2003, Kobi Shmueli wrote: > Gerald (Jerry) Carter wrote: > > >http://www.samba.org/samba/whatsnew/samba-3.0.0beta.html > > > You have a broken link... Thanks. Should be fixed now. (should have been samba-3.0.0beta1.html). I've added a symlink to work around it for now. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+4nGLIR7qMdg1EfYRAgxbAJ9CnJzAM6022LFwyrsFxMamx4P5nwCfaSwe gW4cJoz8cqfFkl9MjZfw6S0= =SNj+ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Hi .. Ok .. swat isn't there because you compiled samba and installed it using the default location '/usr/local/samba-2.2.8a' .. so even if you create 'swat' manually my guess is that you'll run into other problems because of this location. For example, the binaries will be under '/usr/local/samba-2.2.8a/bin' which is not in the default path. Anyway, I'm trying to tell you that your best bet is to use RPMs instead of that. Good luck >Thanks >swat wasn't located in xinetd so I ended up creating it and adding >disable=no line. I don't know if this was necessary but I wasn't able >to >find it. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Thanks swat wasn't located in xinetd so I ended up creating it and adding disable=no line. I don't know if this was necessary but I wasn't able to find it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sameer Zeidat Sent: Saturday, June 07, 2003 6:28 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... Try this command to enable swat on RedHat: # chkconfig --level 35 swat on swat is controlled by xinetd. To start it automatically everytime the system start do this: # chkconfig --level 35 xinetd on To start xinetd manually do this: # service xinetd start Finally, check the swat xinetd config file '/etc/xinetd.d/swat'. See if there is a line that only allows local access and comment it out if your want to access swat from a browser on a different machine. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access is Denied
Dennis: Try adding a samba user dennis using 'smbpasswd -a dennis' then you should be able to logon to dads :) Jeff Means CIO MeansPC [EMAIL PROTECTED] Dennis Krinke wrote: I have a debian linux computer called 'dads' and a win98 conputer called 'moms' I want to be able to transfer files from 'moms' to 'dads' using samba. 'dads' has these debian packages: ii samba 2.2.3a-12.3A LanManager like file and printer server fo ii samba-common 2.2.3a-12.3Samba common files used by both the server a ii samba-doc 2.2.3a-12.3Samba documentation. Some features of samba seem to be working, I can see 'dads' in network neighborhood from 'moms', but when I try to copy files to 'dad', win98 tells me: Cannot copy filexxx Access is denied Make sure the disk is not full or write protested and that the file is not currently in use. and no files are transferred. I have attached testparm.txt and /etc/samba/smb.conf What do I need to fix? TIA, Dennis Krinke per DIAGNOSIS.txt: TEST 1: testparm smb.conf >testparm.txt (see testparm.txt) TEST2: ping dads PING dads (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.3 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms TEST 3: smbclient -L dads added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 Password: Anonymous login successful Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] Sharename Type Comment - --- tmpDisk temporary files IPC$ IPC IPC Service (dads server (Samba 2.2.3a-12.3 for Debian)) ADMIN$ Disk IPC Service (dads server (Samba 2.2.3a-12.3 for Debian)) BJ-200ex Printer lp Server Comment ---- DADS dads server (Samba 2.2.3a-12.3 for Debian) MOMS P166 WorkgroupMaster ---- FAMILY MOMS TEST 4: nmblookup -B dads __SAMBA__ querying __SAMBA__ on 127.0.0.1 192.168.19.28 __SAMBA__<00> TEST 5: nmblookup -B moms '*' querying * on 192.168.19.24 192.168.19.24 *<00> TEST 6: nmblookup -d 2 '*' added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 querying * on 192.168.19.255 Got a positive name query response from 192.168.19.28 ( 192.168.19.28 ) Got a positive name query response from 192.168.19.24 ( 192.168.19.24 ) 192.168.19.28 *<00> 192.168.19.24 *<00> TEST 7: smbclient //dads/tmp -Udennis added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 Password: Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] tree connect failed: NT_STATUS_WRONG_PASSWORD Load smb config files from smb.conf Processing section "[homes]" Processing section "[dennis]" Processing section "[tmp]" Processing section "[printers]" Loaded services file OK. Press enter to see a dump of your service definitions # Global parameters [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = FAMILY netbios name = netbios aliases = netbios scope = server string = %h server (Samba %v) interfaces = bind interfaces only = No security = SHARE encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd root directory = pam password change = No passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 0 syslog only = No log file = /var/log/samba/log.%m max log size = 1000 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 large readwrite = No max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes announce version = 4.5 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No unix extensions = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max smbd processes = 0 max disk size = 0 max open files = 1 read size = 16384 socket options = TCP_NODELAY stat cache size = 50 use mmap = Yes total print jobs = 0 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter c
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Hi .. I didn't read the whole conversation regarding this problem. So, my advice might not be what you want. However, why are you compiling from source? Why not use RedHat RPM packages instead. It will make your life much easier, and for a newbie the default build config would suffice, I guess. The lates RedHat RPMs for Samba are of version 2.2.7 (They do contain the recent security bugfix). Unless you really want a feature available only in 2.2.8a (which is unlikely), I think that 2.2.7 would do the job for you. Here're the links: http://updates.redhat.com/7.3/en/os/i386/samba-2.2.7-3.7.3.i386.rpm http://updates.redhat.com/7.3/en/os/i386/samba-client-2.2.7-3.7.3.i386.rpm http://updates.redhat.com/7.3/en/os/i386/samba-swat-2.2.7-3.7.3.i386.rpm http://updates.redhat.com/7.3/en/os/i386/samba-common-2.2.7-3.7.3.i386.rpm Just download all to a directory, and do this to install all four: # rpm -Uvh samba-*.rpm RedHat has the default configuration files for samba in '/etc/samba'. You can look at the default smb.conf and change it to your needs. It's well commented. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
First beta of Samba 3.0.0 available for download
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Samba Team is proud to announce the availability of the first beta release of the Samba 3.0.0 code base. While we are significantly closer to the final release, I will remind you that this is a non-production release provided for testing only. The source code can be downloaded from : http://download.samba.org/samba/ftp/beta/ The uncompressed tarball and patch file have been signed using GnuPG. The Samba public key is available at http://download.samba.org/samba/ftp/samba-pubkey.asc Binary packages for RedHat, also signed by the Samba public key, have been released and can be found at http://download.samba.org/samba/ftp/Binary_Packages/ Others will be available as they are submitted by volunteers. A simplified version of the CVS log of updates since 3.0alpha24 can be found in the the download directory under the name ChangeLog-3.0alpha24-3.0.0beta1. The Release Notes are available on-line at http://www.samba.org/samba/whatsnew/samba-3.0.0beta.html We are also taking this opportunity to beta test our new Bugzilla server. The intent is to replace the old jitterbug installation (bugs.samba.org). The new bug tracking system is located at https://bugzilla.samba.org/ Please search for existing bugs before filing new reports. As always, all bugs are our responsibility. --Enjoy The Samba Team -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+4mxkIR7qMdg1EfYRAoUMAJ4nK1Uc+JM6S9cXp6qv8JpIkBvxdgCdGwnj /dQXb8NkqMqPsQkNpExh6xY= =jA4D -END PGP SIGNATURE-
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Thanks again as the responses are really appreciated. Here's what I have so far. I managed to locate the smb.conf file but it was in the: /usr/local/samba-2.2.8a/packaging/RedHat directory. Does this qualifies as having a jacked up install? Can I modify this file and then move it to where it needs to be? I located the samba project document and I'm kinda confused on something. It states that the smb.conf isn't created and that I need to create one. It then states that I need to put the smb.conf file in the same place I specified with the make install command. Does this mean I have to create a smb.file and place it in the /usr/local/samba directory or do I move this smb.conf file, located in /usr/local/samba-2.2.8a/packaging/RedHat, to the /usr/local/samba/lib directory? I also continue to get No such file or directory errors when I attempt either of the following: /etc/init.d/swat start This gives me a Permission denied error: /etc/xinetd.d/swat start I get this error even while logged in as root. Apologizes in advance but I'm at the stage where this becomes harder than it really is so I may ramble on from time to time. TIA -Original Message- From: Tori Williamson [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 4:33 PM To: marvc; [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... Marv, Don't worry. You don't sound lazy, ungrateful or a peasant. This is precisely why the list exists. Besides, I'm not the kind of mook to say "RTFM" to anyone. :-) The only thing I can think of with Swat that you may have missed was starting it. Look in /etc/init.d for "swat". If it's there, type: # > /etc/init.d/swat start. Truth to tell, I haven't used or installed swat in a while, and I think it's possible that it's now in /etc/xinetd.d, which means that you need to edit the "swat" startup file in that directory and then hup the xinetd daemon. That should start it up. By default most xinetd scripts are disabled at install, and xinetd is not restarted by the installer. If all you need is JUST a few directories, you may able to get by without swat and just edit the smb.conf file following some of the examples at the end. It's fairly straightforward. The conf file is located (if you followed my second install example) in /etc/samba/smb.conf. Otherwise, i think it's in /usr/local/samba/var/lib... i THINK if you followed my first configure example. Either way just "find / -name smb.conf" should locate it for you. Best of luck. Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Tori Williamson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 7:06 AM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > Tori > Thanks for the mini tutorial on getting started with samba, it helped > a great deal as I was able to compile and install after locating > ./configure in the source directory. > > Not to sound like a lazy ungrateful peasant but I'm unable to log in > to swat by typing http://localhost:901. Am I missing something here? > I'm currently trying to locate an updated doc for 2.2.8a that covers > setting up the swat tool and creating the shares. This is for my home > network so I'm not tryiing to do anything fancy; just create a few > folders for some files I'll be adding to my linux web server. > > Thanks again > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tori Williamson > Sent: Friday, June 06, 2003 1:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > You do need to run configure for a source tarball... you just haven't > found the config script yet. :-) In the samba-2.2.8a directory, go > into the directory labeled "source". You'll find the configure script > there. > > My advice is, if this is the first time installing Samba, run your > install > thusly: > > #samba-2.2.8a > ./configure --prefix=/usr/local/samba #samba-2.2.8a > > make #samba-2.2.8a > make install > > The reason I suggest setting the prefix as /usr/local/samba and no > other config options, is that this will put samba in a singular space > and allow you time to monkey with it in a closed directory. Then when > your comfortable with samba and it's files and configurations, you can > wipe the /usr/local/samba dir (thus trashing ALL of the files) and run > the configure with WHATEVER path your heart desires. > > My advice is something like this install: > > #samba-2.2.8a > > ./configure --prefix=/usr --configdir=/etc/samba > --what-ever-other-config-op tions-you-want #samba-2.2.8a > make > #samba-2.2.8a > find /* > samba1 #samba-2.2.8a > make install > #samba-2.2.8a > find /* > samba2 #samba-2.2.8a > diff samba1 samba2 > > samba-installed > > Why the two find and diff statements? Well, you'll see that I offer > /usr as the prefix dir, you'r files will be sc
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Try this command to enable swat on RedHat: # chkconfig --level 35 swat on swat is controlled by xinetd. To start it automatically everytime the system start do this: # chkconfig --level 35 xinetd on To start xinetd manually do this: # service xinetd start Finally, check the swat xinetd config file '/etc/xinetd.d/swat'. See if there is a line that only allows local access and comment it out if your want to access swat from a browser on a different machine. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access is Denied
Hi .. Try adding the following to the global section: guest account = dennis When connecting from 'moms' supply your 'dennis' account password. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Access is Denied
I have a debian linux computer called 'dads' and a win98 conputer called 'moms' I want to be able to transfer files from 'moms' to 'dads' using samba. 'dads' has these debian packages: ii samba 2.2.3a-12.3A LanManager like file and printer server fo ii samba-common 2.2.3a-12.3Samba common files used by both the server a ii samba-doc 2.2.3a-12.3Samba documentation. Some features of samba seem to be working, I can see 'dads' in network neighborhood from 'moms', but when I try to copy files to 'dad', win98 tells me: Cannot copy filexxx Access is denied Make sure the disk is not full or write protested and that the file is not currently in use. and no files are transferred. I have attached testparm.txt and /etc/samba/smb.conf What do I need to fix? TIA, Dennis Krinke per DIAGNOSIS.txt: TEST 1: testparm smb.conf >testparm.txt (see testparm.txt) TEST2: ping dads PING dads (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.3 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms TEST 3: smbclient -L dads added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 Password: Anonymous login successful Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] Sharename Type Comment - --- tmpDisk temporary files IPC$ IPC IPC Service (dads server (Samba 2.2.3a-12.3 for Debian)) ADMIN$ Disk IPC Service (dads server (Samba 2.2.3a-12.3 for Debian)) BJ-200ex Printer lp Server Comment ---- DADS dads server (Samba 2.2.3a-12.3 for Debian) MOMS P166 WorkgroupMaster ---- FAMILY MOMS TEST 4: nmblookup -B dads __SAMBA__ querying __SAMBA__ on 127.0.0.1 192.168.19.28 __SAMBA__<00> TEST 5: nmblookup -B moms '*' querying * on 192.168.19.24 192.168.19.24 *<00> TEST 6: nmblookup -d 2 '*' added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 querying * on 192.168.19.255 Got a positive name query response from 192.168.19.28 ( 192.168.19.28 ) Got a positive name query response from 192.168.19.24 ( 192.168.19.24 ) 192.168.19.28 *<00> 192.168.19.24 *<00> TEST 7: smbclient //dads/tmp -Udennis added interface ip=192.168.19.28 bcast=192.168.19.255 nmask=255.255.255.0 Password: Domain=[FAMILY] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian] tree connect failed: NT_STATUS_WRONG_PASSWORD Load smb config files from smb.conf Processing section "[homes]" Processing section "[dennis]" Processing section "[tmp]" Processing section "[printers]" Loaded services file OK. Press enter to see a dump of your service definitions # Global parameters [global] coding system = client code page = 850 code page directory = /usr/share/samba/codepages workgroup = FAMILY netbios name = netbios aliases = netbios scope = server string = %h server (Samba %v) interfaces = bind interfaces only = No security = SHARE encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min passwd length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = smb passwd file = /etc/samba/smbpasswd root directory = pam password change = No passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . passwd chat debug = No username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = No lanman auth = Yes use rhosts = No log level = 2 syslog = 0 syslog only = No log file = /var/log/samba/log.%m max log size = 1000 timestamp logs = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 large readwrite = No max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes announce version = 4.5 announce as = NT max mux = 50 max xmit = 65535 name resolve order = lmhosts host wins bcast max packet = 65535 max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No unix extensions = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max smbd processes = 0 max disk size = 0 m
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Easiest way to find smb.conf's location is to enter: # > find / -name smb.conf Do it as su. That should tell you where it is. .t - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 11:27 AM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > Still No-Go! Still getting timeout and connection refused errors when > trying to access this. I also can't find the smb.conf file that's > supposed to be located in /usr/local/samba/lib. All I see in this > directory is a codepages directory. Could this install have gotten > corrupted or am I looking in the wrong place for this? > TIA > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Marv, Don't worry. You don't sound lazy, ungrateful or a peasant. This is precisely why the list exists. Besides, I'm not the kind of mook to say "RTFM" to anyone. :-) The only thing I can think of with Swat that you may have missed was starting it. Look in /etc/init.d for "swat". If it's there, type: # > /etc/init.d/swat start. Truth to tell, I haven't used or installed swat in a while, and I think it's possible that it's now in /etc/xinetd.d, which means that you need to edit the "swat" startup file in that directory and then hup the xinetd daemon. That should start it up. By default most xinetd scripts are disabled at install, and xinetd is not restarted by the installer. If all you need is JUST a few directories, you may able to get by without swat and just edit the smb.conf file following some of the examples at the end. It's fairly straightforward. The conf file is located (if you followed my second install example) in /etc/samba/smb.conf. Otherwise, i think it's in /usr/local/samba/var/lib... i THINK if you followed my first configure example. Either way just "find / -name smb.conf" should locate it for you. Best of luck. Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Tori Williamson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 7:06 AM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > Tori > Thanks for the mini tutorial on getting started with samba, it helped a > great deal as I was able to compile and install after locating > ./configure in the source directory. > > Not to sound like a lazy ungrateful peasant but I'm unable to log in to > swat by typing http://localhost:901. Am I missing something here? I'm > currently trying to locate an updated doc for 2.2.8a that covers setting > up the swat tool and creating the shares. This is for my home network so > I'm not tryiing to do anything fancy; just create a few folders for some > files I'll be adding to my linux web server. > > Thanks again > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Tori Williamson > Sent: Friday, June 06, 2003 1:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > You do need to run configure for a source tarball... you just haven't > found the config script yet. :-) In the samba-2.2.8a directory, go into > the directory labeled "source". You'll find the configure script there. > > My advice is, if this is the first time installing Samba, run your > install > thusly: > > #samba-2.2.8a > ./configure --prefix=/usr/local/samba #samba-2.2.8a > > make #samba-2.2.8a > make install > > The reason I suggest setting the prefix as /usr/local/samba and no other > config options, is that this will put samba in a singular space and > allow you time to monkey with it in a closed directory. Then when your > comfortable with samba and it's files and configurations, you can wipe > the /usr/local/samba dir (thus trashing ALL of the files) and run the > configure with WHATEVER path your heart desires. > > My advice is something like this install: > > #samba-2.2.8a > > ./configure --prefix=/usr --configdir=/etc/samba > --what-ever-other-config-op tions-you-want #samba-2.2.8a > make > #samba-2.2.8a > find /* > samba1 #samba-2.2.8a > make install > #samba-2.2.8a > find /* > samba2 #samba-2.2.8a > diff samba1 samba2 > > samba-installed > > Why the two find and diff statements? Well, you'll see that I offer /usr > as the prefix dir, you'r files will be scattered. Doing a find before > AND after the install and diffing the two find files will create a file > (called > samba-installed) with the locations of all the samba files. quite handy. > > If you don't feel comfortable with that, and want an easier way to > manage the install (and if necessary the UNinstall) of Samba, you can > download the latest samba SRPM file from Samba.org here: > http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a > -1.s > rc.rpm > > Just install rpm-build from the 7.3 RPMS, and after downloading the > src.rpm, > run: > #dir > rpm -ivh samba-2.2.8a-1.src.rpm > then change to /usr/src/redhat/SPECS and edit the samba.spec file to > make the config changes you want. Then: #SPECS > rpm -bb samba.spec This > will place the samba-common, samba-client, samba-server & samba-swat > RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba > version from samba.org via RPM. > > Lastly, I offer up the suggestion of obtaining "Using Samba" from > O'Reilly & Assc. A VERY handy book for samba admins of any level. And > the latest edition covers Samba 3. You can also do a google search for > "samba redhat HOWTO" > > Good luck! > > Tori > > > - Original Message - > From: "marvc" <[EMAIL PROTECTED]> > To: "'Joel Hammer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, June 05, 2003 9:48 PM > Subject: RE: [Samba] samba n
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
To enable swat, you have to edit inetd.conf or its equivalent in xinetd. I don't use Redhat so I cannot be much more specific. Joel On Sat, Jun 07, 2003 at 10:06:54AM -0400, marvc wrote: > Tori > Thanks for the mini tutorial on getting started with samba, it helped a > great deal as I was able to compile and install after locating > ./configure in the source directory. > > Not to sound like a lazy ungrateful peasant but I'm unable to log in to > swat by typing http://localhost:901. Am I missing something here? I'm > currently trying to locate an updated doc for 2.2.8a that covers setting > up the swat tool and creating the shares. This is for my home network so > I'm not tryiing to do anything fancy; just create a few folders for some > files I'll be adding to my linux web server. > > Thanks again > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Tori Williamson > Sent: Friday, June 06, 2003 1:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > Marv, > > You do need to run configure for a source tarball... you just haven't > found the config script yet. :-) In the samba-2.2.8a directory, go into > the directory labeled "source". You'll find the configure script there. > > My advice is, if this is the first time installing Samba, run your > install > thusly: > > #samba-2.2.8a > ./configure --prefix=/usr/local/samba #samba-2.2.8a > > make #samba-2.2.8a > make install > > The reason I suggest setting the prefix as /usr/local/samba and no other > config options, is that this will put samba in a singular space and > allow you time to monkey with it in a closed directory. Then when your > comfortable with samba and it's files and configurations, you can wipe > the /usr/local/samba dir (thus trashing ALL of the files) and run the > configure with WHATEVER path your heart desires. > > My advice is something like this install: > > #samba-2.2.8a > > ./configure --prefix=/usr --configdir=/etc/samba > --what-ever-other-config-op tions-you-want #samba-2.2.8a > make > #samba-2.2.8a > find /* > samba1 #samba-2.2.8a > make install > #samba-2.2.8a > find /* > samba2 #samba-2.2.8a > diff samba1 samba2 > > samba-installed > > Why the two find and diff statements? Well, you'll see that I offer /usr > as the prefix dir, you'r files will be scattered. Doing a find before > AND after the install and diffing the two find files will create a file > (called > samba-installed) with the locations of all the samba files. quite handy. > > If you don't feel comfortable with that, and want an easier way to > manage the install (and if necessary the UNinstall) of Samba, you can > download the latest samba SRPM file from Samba.org here: > http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a > -1.s > rc.rpm > > Just install rpm-build from the 7.3 RPMS, and after downloading the > src.rpm, > run: > #dir > rpm -ivh samba-2.2.8a-1.src.rpm > then change to /usr/src/redhat/SPECS and edit the samba.spec file to > make the config changes you want. Then: #SPECS > rpm -bb samba.spec This > will place the samba-common, samba-client, samba-server & samba-swat > RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba > version from samba.org via RPM. > > Lastly, I offer up the suggestion of obtaining "Using Samba" from > O'Reilly & Assc. A VERY handy book for samba admins of any level. And > the latest edition covers Samba 3. You can also do a google search for > "samba redhat HOWTO" > > Good luck! > > Tori > > > - Original Message - > From: "marvc" <[EMAIL PROTECTED]> > To: "'Joel Hammer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, June 05, 2003 9:48 PM > Subject: RE: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > > > I downloaded the samba-latest.tar from the downloads page and you're > > right it doesn't look as though I have to configure it. I'm just > > unsure of what it is I need to do to next. > > > > -Original Message- > > From: Joel Hammer [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 05, 2003 9:38 PM > > To: marvc; [EMAIL PROTECTED] > > Subject: Re: [Samba] samba newbie having trouble configuring samba on > > RH7.3... > > > > What type of file did you download? > > Maybe its all set to run? Maybe you don't have to configure it? Joel > > > > > > > > On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote: > > > I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure > on > > > how to properly configure samba. I've seen documentation online for > > the > > > older versions which contain instructions for running ./configure, > > make, > > > and make install. I don't see ./configure in my samba-2.2.8a > directory > > > so I'm clueless on what to do next. Can anyone assist with this? > > > > > > TIA > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions:
Re: [Samba] No password for specific IP address?
This seems easy enough. In your global section, you could have something like this: include = /usr/local/samba/lib/smb.conf.%I Create a file: /usr/local/samba/lib/smb.conf.IPofSlowBox In this smb.conf you can put specific parameters to allow this box a passwordless login. The exact method you use will depend on what you are trying to do. I am too rusty on this stuff to offer any more specific advice a this point. You might be able to do the same thing with the config parameter. config file = /usr/local/samba/lib/smb.conf.%I Read all about it in man smb.conf Joel On Sat, Jun 07, 2003 at 12:43:29PM -0400, Subba Rao wrote: > Hi, > > I have a slow Windows NT system. Eachtime I reboot, it connects to the > Samba file shares and prompts me for password. Since this is a slower > computer, it takes forever before I see the login window. (This system has > only 32MB RAM). > > Is it possible to configure Samba to allow password-less login from a specific > IP address? I do access multiple shares on this server. > > Thank you in advance to any information. > > -- > Subba Rao > [EMAIL PROTECTED] > -- > Old American Wild West saying: God created men but Colt made them equal. > Today: Linus created Linux and Linux made IT companies equal. > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Badly need some help with those BEEEEEP roaming profile....
Hi all, I've got a Samba PDC working on Slackware 9.0 with clients running Win2k SP3 French. Everything runs fine, except one thing. I suppose you guessed what... (eh... no? erm...) the roaming profile. I've been googling / reading howtos / searching the archive for some time now, still can't find what is the problem. Here's the behaviour i get: Everything is ok, the profile get saved on the PDC when a user logout, but the machine just don't use it when the user log in again! I've even deleted the local cached profile and tried logging in, it just create a new profile using the local "Default User". I've search my logs on samba, found nothing unusual. I've searched my events in windows, found nothing unusual. I've never heard/seen anyone having that kind of trouble... could it be the fact that my windows are french? I'd be surprised... If anyone can help me, or give me any urls where i could find more documentation or any kind of advice, it would be really appreciated! here's my smb.conf [EMAIL PROTECTED]:~$ cat /etc/samba/smb.conf [global] netbios name = PDC workgroup = PFINFO.NET server string = "PDC.PFINFO.NET" domain logons = yes os level = 64 preferred master = yes encrypt passwords = yes hide unreadable = yes hide dot files= yes log level = 1 log file = /var/log/samba/%m.log security = user socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 time server = yes wins support = yes logon drive = Z: logon home = \\%L\%u logon path = \\%L\profiles\%u logon script = logon.bat hosts allow = 10.0.0.0/255.255.255.224 127.0.0.1 EXCEPT 10.0.0.1 hosts deny = ALL interfaces = 10.0.0.0/255.255.255.224 127.0.0.1 bind interfaces only = Yes browseable = no [homes] browseable = no read only = no create mode = 0600 directory mode = 0700 [public] browseable = yes create mode = 0660 directory mode = 0770 valid users = @dcusers path = /home/public read only = no [netlogon] path = /home/netlogon [profiles] valid users = @dcusers create mode = 0600 csc policy = disable directory mode = 0700 path = /home/profiles profile acls = yes read only = no nt acl support = no -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Still No-Go! Still getting timeout and connection refused errors when trying to access this. I also can't find the smb.conf file that's supposed to be located in /usr/local/samba/lib. All I see in this directory is a codepages directory. Could this install have gotten corrupted or am I looking in the wrong place for this? TIA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] No password for specific IP address?
Hi, I have a slow Windows NT system. Eachtime I reboot, it connects to the Samba file shares and prompts me for password. Since this is a slower computer, it takes forever before I see the login window. (This system has only 32MB RAM). Is it possible to configure Samba to allow password-less login from a specific IP address? I do access multiple shares on this server. Thank you in advance to any information. -- Subba Rao [EMAIL PROTECTED] -- Old American Wild West saying: God created men but Colt made them equal. Today: Linus created Linux and Linux made IT companies equal. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Fwd: Re: [Samba] Win XP logon issues]
What is going on here with samba and win xp?? Did MS put something in one of their hotfixes to break samba?? I just tried going back to samba3.0a22 which I had running previously on the same server with the same strange results (same samba config file). I think MS is worried and as such is trying their standard response since they can't buy samba they will patch their OS so samba will not work with it As such I was wondering if there is someone out there with a Win XP Pro box that has not been patched to run tests with on this issue, loading hotfix after hotfix one at a time untill things break. Jeff Means CIO MeansPC [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
AW: [Samba] how run samba in background?
hi, >Is there a symlink to the script in your rcX.d directory? No, could you tell me how do i make some symlink(a sample please) ?? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: pdf printer
Norman Zhang nzhang at arkon-group.com wrote on Samba-Digest Tue Jun 3 16:52:33 GMT 2003 Hi, > > But this only covers the "Install-PDF-Printer-on-CUPS" part. > > > > The other part is the "Install-PDF-Printer-on-Windows". Here you have > > several options. My recommendation is the > > "Use-the-CUPS-PostScript-Drivers-for-Windows-NT/2K/XP" > > -and-export-with-the-help-of-cupsaddsmb" one. > > Sorry I'm still a little confused here. Can I do "cupsaddsmb -H > PRNSERVER printer PDFPrinter" to setup PostScript driver (adist5.ppd) > for Win9x/NT/2000, so users can download them from their personal > workstations? If so, then I don't need to add arbitrary color laser > printer from Windows? I tried "cupsaddsmb -v PDFprinter", but system complaints that it cannot find PDFprinter.ppd. I tried copy PDFprinter.ppd to almost every folder, but still no luck. I'm doing this right? Where should I put PDFprinter.ppd? I now have it working on NT/2000. But in 9x/ME, it complains that pdfprinter.PPD not found. Try to use an 8-characters-only name for the PDF printer and it should be OK. A hint about this was already provided at http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-11th-draft.html#37 the very first question "Win9x client can't install driver"... I checked WINNT40\0\, pdfprinter.PPD is in there. I even made duplicates like PDFPRINTER.PPD and pdfprinter.ppd, copied the file to a local disk, but 9x/ME still cannot find it. Could this be a bug somewhere? I don't know why I'm seeing all these strange cases 8( Regards, Norman Cheers, Kurt[ sorry for not participating in the discussion of this problem during the last 7 days -- I was away on a business trip ] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] samba newbie having trouble configuring samba on RH7.3...
Tori Thanks for the mini tutorial on getting started with samba, it helped a great deal as I was able to compile and install after locating ./configure in the source directory. Not to sound like a lazy ungrateful peasant but I'm unable to log in to swat by typing http://localhost:901. Am I missing something here? I'm currently trying to locate an updated doc for 2.2.8a that covers setting up the swat tool and creating the shares. This is for my home network so I'm not tryiing to do anything fancy; just create a few folders for some files I'll be adding to my linux web server. Thanks again -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tori Williamson Sent: Friday, June 06, 2003 1:54 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... Marv, You do need to run configure for a source tarball... you just haven't found the config script yet. :-) In the samba-2.2.8a directory, go into the directory labeled "source". You'll find the configure script there. My advice is, if this is the first time installing Samba, run your install thusly: #samba-2.2.8a > ./configure --prefix=/usr/local/samba #samba-2.2.8a > make #samba-2.2.8a > make install The reason I suggest setting the prefix as /usr/local/samba and no other config options, is that this will put samba in a singular space and allow you time to monkey with it in a closed directory. Then when your comfortable with samba and it's files and configurations, you can wipe the /usr/local/samba dir (thus trashing ALL of the files) and run the configure with WHATEVER path your heart desires. My advice is something like this install: #samba-2.2.8a > ./configure --prefix=/usr --configdir=/etc/samba --what-ever-other-config-op tions-you-want #samba-2.2.8a > make #samba-2.2.8a > find /* > samba1 #samba-2.2.8a > make install #samba-2.2.8a > find /* > samba2 #samba-2.2.8a > diff samba1 samba2 > samba-installed Why the two find and diff statements? Well, you'll see that I offer /usr as the prefix dir, you'r files will be scattered. Doing a find before AND after the install and diffing the two find files will create a file (called samba-installed) with the locations of all the samba files. quite handy. If you don't feel comfortable with that, and want an easier way to manage the install (and if necessary the UNinstall) of Samba, you can download the latest samba SRPM file from Samba.org here: http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a -1.s rc.rpm Just install rpm-build from the 7.3 RPMS, and after downloading the src.rpm, run: #dir > rpm -ivh samba-2.2.8a-1.src.rpm then change to /usr/src/redhat/SPECS and edit the samba.spec file to make the config changes you want. Then: #SPECS > rpm -bb samba.spec This will place the samba-common, samba-client, samba-server & samba-swat RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba version from samba.org via RPM. Lastly, I offer up the suggestion of obtaining "Using Samba" from O'Reilly & Assc. A VERY handy book for samba admins of any level. And the latest edition covers Samba 3. You can also do a google search for "samba redhat HOWTO" Good luck! Tori - Original Message - From: "marvc" <[EMAIL PROTECTED]> To: "'Joel Hammer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 9:48 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... > I downloaded the samba-latest.tar from the downloads page and you're > right it doesn't look as though I have to configure it. I'm just > unsure of what it is I need to do to next. > > -Original Message- > From: Joel Hammer [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 9:38 PM > To: marvc; [EMAIL PROTECTED] > Subject: Re: [Samba] samba newbie having trouble configuring samba on > RH7.3... > > What type of file did you download? > Maybe its all set to run? Maybe you don't have to configure it? Joel > > > > On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote: > > I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on > > how to properly configure samba. I've seen documentation online for > the > > older versions which contain instructions for running ./configure, > make, > > and make install. I don't see ./configure in my samba-2.2.8a directory > > so I'm clueless on what to do next. Can anyone assist with this? > > > > TIA > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/l
Re: [Samba] how run samba in background?
Doesn't just adding -D to the command make it run in the background? For example: /usr/local/samba/bin/smbd -D Joel On Sat, Jun 07, 2003 at 11:46:01AM +0200, Arnold wrote: > hi, > I'm trying to run samba from console with an Startup Script in background. > (i can start this script manuel with /etc/init.d/./samba.init > but after reboot samba daemons are stoped) > the Startup Script is in /etc/init.d/samba.init. > > I run this Script with chkconfig in runlevel 35 : > #chkconfig samba.init 35 > I get no Errors, but samba is runing too. > > ??? > Thank you, > > henry > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Broadcast message with smbclient -M
>Is there a way to broadcast a message with >smbclient -M? > >Also, is there some utility out there with >user interface where I can select which >machines should receive the message and >then send it out? Not that I know, but any scripting language can accomplish that without much sweat, e.g. for i in $(smbstatus | awk ' BEGIN {do getline;while(substr($0,1,1)!="-")} $0 == "" { exit } {print $5 }' | sort | uniq) do echo "Attention." | smbclient -M $i done which pops up and "Attention." window on each active user's screen exactly once. It's up to you to add some eye-candy with a squirt of Tcl/TK or something. Cheers Dragan Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba over netbeui partial success.
Hi samba people, in case someone is interested (which I actually hope), I've got samba 2.2.8a running over raw netbeui (no tcp/ip at all) on 2.4.20 x86 linux (great thanks go to Procom inc., A.C. de Melo and Balatoni Denes) I've fixed some most critical stability issues, but there are still some noticable problems remaining, and unfortunately I don't have enough time to continue testing and debugging right now. The stuff that I'm currently running is available at http://zhubr.tamb.ru/netbeui and http://zhubr.tamb.ru/samba I'd be happy if someone investigated it further and fixed some more bugs :) Note: I'm not subscribed, please CC me when replying. -- Best regards, Nikolai Zhubr -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how run samba in background?
hi, I'm trying to run samba from console with an Startup Script in background. (i can start this script manuel with /etc/init.d/./samba.init but after reboot samba daemons are stoped) the Startup Script is in /etc/init.d/samba.init. I run this Script with chkconfig in runlevel 35 : #chkconfig samba.init 35 I get no Errors, but samba is runing too. ??? Thank you, henry -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba