Re: help for samba.conf
Dan Pomohaci [EMAIL PROTECTED] writes: I have a Linux server (Debian - slink) which must share files with a bunch of Windows boxes. I've installed Samba on Linux and have made all the modifications (I think) on Windows clients. Now they can see the Linux server but they are not permited to access the files from Linux server. IMHO, you should be using security = user. Give everyone a Unix account, and set the MS password using `smbpasswd'. You may want to consider upgrading to the latest Samba (version 2) from potato too. If it still doesn't work, see what kind of errors you get with smbclient, e.g. $ smbclient '\\hostname\tmp' -U whoever You can add -d 2 or -d 5 to get debugging output from smbclient. You can also increase the debug level, and check (IIRC) /var/log/smb for errors. -- Carey Evans http://home.clear.net.nz/pages/c.evans/ And so, New York has joined the fraternity of cities whose only admission requirement is to be overrun with evil zombies.http://www.sluggy.com/
help for samba.conf
I have a Linux server (Debian - slink) which must share files with a bunch of Windows boxes. I've installed Samba on Linux and have made all the modifications (I think) on Windows clients. Now they can see the Linux server but they are not permited to access the files from Linux server. This is my smb.conf file: smb.conf Description: smb.conf on Windows side I've made 192.168.1.1 (Linux IP) WINS and DNS server and everything seems OK (par example they can use Netscape to access Internet through the Linux gateway.) Please help me!!! (otherwise they will force me to install Win NT :-( -- | Dan N. Pomohaci | e-mail: [EMAIL PROTECTED] | | Lecturer - Faculty of Biotechnology | | | University of Agricultural Sciences | | | 59 Marasti Ave, code 71331, | tel: 40-1-2223700/324| | Bucharest, Romania | fax: 40-1-22232693 |
Re: help for samba.conf
I just managed to fix a similar problem myself. I could see the Samba server from the Windows machines, but couldn't browse the shares, although i thought everything was set up right. I had to add encrypted password support for the Win98 boxen on the network. Then I added the following lines to smb.conf: encrypt passwords = yes smbpasswd file = /path/to/smbpasswd preferred master = yes donain logons = yes Those lines basically turn the Samba server into the equivalent to an NT domain controller. I just had to set the windows networking to log into an NT domain to authenticate, and all works well now. I spent probably 8 hours this afternoon reading through the man page for smb.conf, the DOMAIN.txt that comes with the source tarball and countless daemon restarts before i figured this out. And it's all for the better because I don't have to put an NT server back up. Hope this helps Dan Pomohaci wrote: I have a Linux server (Debian - slink) which must share files with a bunch of Windows boxes. I've installed Samba on Linux and have made all the modifications (I think) on Windows clients. Now they can see the Linux server but they are not permited to access the files from Linux server. This is my smb.conf file: on Windows side I've made 192.168.1.1 (Linux IP) WINS and DNS server and everything seems OK (par example they can use Netscape to access Internet through the Linux gateway.) Please help me!!! (otherwise they will force me to install Win NT :-( -- | Dan N. Pomohaci | e-mail: [EMAIL PROTECTED] | | Lecturer - Faculty of Biotechnology | | | University of Agricultural Sciences | | | 59 Marasti Ave, code 71331, | tel: 40-1-2223700/324| | Bucharest, Romania | fax: 40-1-22232693 | --L92x1OKgUY-- -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
help for samba.conf (2)
I have a Linux server (Debian - slink) which must share files with a bunch of Windows boxes. I've installed Samba on Linux and have made all the modifications (I think) on Windows clients. Now they can see the Linux server but they are not permited to access it. Not even to see the directories shared by Linux server. On Windows side I've made 192.168.1.1 (Linux IP) WINS and DNS server and everything seems OK (par example they can use Netscape to access Internet through the Linux gateway.) This is my smb.conf file: ===File ~/smb.conf== ; ; /etc/smb.conf ; [global] printing = bsd printcap name = /etc/printcap load printers = yes guest account = nobody invalid users = root interfaces = 192.168.1.0/24 debug level = 3 ; hosts allow = 192.168.1.0/255.255.255.0 ; security = user security = share workgroup = CUB server string = %h server (Samba %v) ; This socket options really speed up Samba under Linux, according to my ; own tests. socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 encrypt passwords = yes wins support = yes ; os level = 0 domain master = yes local master = yes preferred master = yes ; What naming service and in what order should we use to resolve host names ; to IP addresses name resolve order = lmhosts host wins bcast ; This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = yes ; Name mangling options preserve case = yes short preserve case = yes ; This boolean parameter controlls whether Samba attempts to sync. the Unix ; password with the SMB password when the encrypted SMB password in the ; /etc/smbpasswd file is changed. unix password sync = false ; For Unix password sync. to work on a Debian GNU/Linux system, the following ; parameters must be set (thanks to Culus for pointing this out): passwd program = /usr/bin/passwd %u passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Password\schanged.* . max log size = 1000 [tmp] comment = Temporary file space path = /tmp read only = yes public = yes [arhive] comment = Arhive path = /home/public/arhive read only = yes public = yes [kituri] comment = Public Stuff path = /home/public/kituri public = yes writable = no printable = no write list = @staff [cdrom] comment = Samba server's CD-ROM writable = no locking = no path = /cdrom public = yes root preexec = /bin/mount /cdrom root postexec = /bin/umount /cdrom -- | Dan N. Pomohaci | e-mail: [EMAIL PROTECTED] | | Lecturer - Faculty of Biotechnology | | | University of Agricultural Sciences | | | 59 Marasti Ave, code 71331, | tel: 40-1-2223700/324| | Bucharest, Romania | fax: 40-1-22232693 |
Re: help for samba.conf
illusion writes: I just managed to fix a similar problem myself. I could see the Samba server from the Windows machines, but couldn't browse the shares, although i thought everything was set up right. I had to add encrypted password support for the Win98 boxen on the network. Then I added the following lines to smb.conf: encrypt passwords = yes smbpasswd file = /path/to/smbpasswd preferred master = yes donain logons = yes Those lines basically turn the Samba server into the equivalent to an NT domain controller. I just had to set the windows networking to log into an NT domain to authenticate, and all works well now. I spent probably 8 hours this afternoon reading through the man page for smb.conf, the DOMAIN.txt that comes with the source tarball and countless daemon restarts before i figured this out. And it's all for the better because I don't have to put an NT server back up. Hope this helps Exist a method to create smbpasswd from the unix passwd file? Is it posible to have problems if the passwords are case mixed? (the clients are mainly Win95 boxes). -- | Dan N. Pomohaci | e-mail: [EMAIL PROTECTED] | | Lecturer - Faculty of Biotechnology | | | University of Agricultural Sciences | | | 59 Marasti Ave, code 71331, | tel: 40-1-2223700/324| | Bucharest, Romania | fax: 40-1-22232693 |