guest account/config file/encrypt passwd problem

Marcel Kunath kunathma at pilot.msu.edu
Tue Sep 25 15:54:04 GMT 2001


nevermind. I can't believe it. I forgot. null passworsd =yes
>
> Hello,
>
> got a smb question.
>
> I used to run 2.0 and it worked fine. I had normal users and then a guest user

> with NULL PASSWD.
>
> I switched to 2.2 and I try to set up the same thing but I can't manage to get

> them both working simultaneously. I can have either one working just fine. I
> narrowed it down to encrypt passwords = (yes/no). I try to override the genera
l
> user settings by a config file for my special guest user but it won't work.
>
> single smb.conf file used:
>
>
> smb.conf encrypt=yes       encrypt=no
>
> user     works             doesnt
> guest    doesnt            works
>
>
> smb.conf and smb.conf.guest used:
>
> smb.conf              encrypt=yes                      encrypt=no
> smb.conf.guest  encrypt=yes      encrypt=no    encrypt=yes      encrypt=no
>
> user            works             works        doesnt           doesnt
> guest           doesnt            doesnt       works            works
>
>
> It seems like the config file is not being read to override the values it is
> suppose to override. The user is named guest and the file smb.conf.guest
>
> There is no log messages.
>
> # cat smb.conf
>
> [global]
>         workgroup = WORKGROUP
>         server string = Samba %v on %L
>         domain logons = yes
>
>         security = user
>
>         os level = 34
>         local master = yes
>         preferred master = yes
>         domain master = yes
>         socket options = TCP_NODELAY
>
>         guest account = guest
> ; THE CONFIG FILE FOR USER GUEST:
>         config file = /etc/smb.conf.%U
>
> ;ENCRYPTED PASSWORDS FOR NORMAL USERS
>         encrypt passwords = yes
>         smb passwd file = /etc/smbpasswd
>
> ;        logon script = %U.bat
>
> [netlogon]
>         comment = The domain logon service
>         path = /etc/samba/logon
>         public = no
>         writeable = no
>         browseable = no
>
> [share-drive1]
>         path = /share-drive1
>         comment = Network Drive
>         create mode = 644
>         writeable = yes
>         guest ok = yes
>
>
>
> # cat smb.conf.guest
>
> [global]
>         workgroup = WORKGROUP
>         server string = Samba %v on %L
>         domain logons = yes
>
>         security = user
>
>         os level = 34
>         local master = yes
>         preferred master = yes
>         domain master = yes
>         socket options = TCP_NODELAY
>
>         guest account = guest
> ; THE CONFIG FILE FOR USER GUEST:
> ;        config file = /etc/smb.conf.%U
>
> ;UNENCRYPTED PASSWORDS FOR guest USER
>         encrypt passwords = no
>         smb passwd file = /etc/smbpasswd
>
> ;        logon script = %U.bat
>
> [netlogon]
>         comment = The domain logon service
>         path = /etc/samba/logon
>         public = no
>         writeable = no
>         browseable = no
>
> [share-drive1]
>         path = /share-drive1
>         comment = Network Drive
>         create mode = 644
>         writeable = yes
>         guest ok = yes
>
>  --
> Marcel Kunath
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
>  Montie House Network            Greater Lansing Linux Users Group
>   http://www.montiehouse.com      http://www.gllug.org
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


--
Marcel Kunath

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 Montie House Network            Greater Lansing Linux Users Group
  http://www.montiehouse.com      http://www.gllug.org

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




More information about the samba mailing list