Mario Bittencourt
2004-Jul-03 14:11 UTC
[Samba] netlogon loop (migrating from 2.2.7 to 3.0.x)
Hi, I am migrating my aging 2.2.7 samba server to a new machine (Fedora Core2 + samba 3.0.x) but got stuck in a strange problem. My users can log in, can mount the shares but only if I remove the netlogon script. I can browse the available shares from windows and linux. I am using the same netlogon script which is similar to the one found in the documentation. My smb.conf [netlogon] comment = netlogon path = /home1/netlogon guest ok = yes writable = no share modes = no browseable = no [devel] comment = Development path = /home1/devel valid users = @devel write list = @devel @admin public = no writable = yes printable = no create mask = 0644 directory mask = 0755 force group = devel Under /home1/netlogon there is a devel.bat with a single line : net use /yes z: \\grecia\homes grecia is the name of the machine. Any ideias ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | My users can log in, can mount the shares but only if I remove the | netlogon script. For future reference, it is a section in your samba configuration file not a script. ;-) | I can browse the available shares from windows and linux. | | I am using the same netlogon script which is similar to the one found | in the documentation. Can you be more specific about which documentation? | My smb.conf | [netlogon] | comment = netlogon | path = /home1/netlogon | guest ok = yes | writable = no | share modes = no | browseable = no Every working netlogon I've ever seen looked something like this: Note that this one works for me and, with the exception that I've modified the path for you, was found at: http://www.samba.org/samba/docs/man/guide/happy.html#ch6-shareconfb [netlogon] comment = Network Logon Service path = /home1/netlogon guest ok = Yes locking = No My understanding is that you can't have a non-writable netlogon although it *may* be possible to set "guest ok = No". | [devel] | comment = Development | path = /home1/devel | valid users = @devel | write list = @devel @admin | public = no | writable = yes | printable = no | create mask = 0644 | directory mask = 0755 | force group = devel | | Under /home1/netlogon there is a devel.bat with a single line : | net use /yes z: \\grecia\homes | | grecia is the name of the machine. | | Any ideias ? - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA6I5k57L0B7uXm9oRAhEbAKCE+35yN5peYWlpgOcuTA0oRZXKPQCeMVzn fGmpwV6yMpGz877ovy8W4o4=ACo2 -----END PGP SIGNATURE-----