Stefan Günther
2004-Feb-24 11:05 UTC
[Samba] different "encrypt passwords" in virtual servers?
Hi, is it possible to use "encrypt passwords=yes" in the main server configuration and "encrypt passwords=no" in the virtual server configuration? My current smb.conf looks like this: workgroup = AGPC101 netbios name = AG-pc101-Server server string = PC101-Server # The include file contains encrypt passwords=no include = /usr/local/samba-302/lib/smb.conf.dos encrypt passwords = yes Unfortunately I can't connect to either of the server. According to the documentation the "encrypt passwords = yes" should (?) overwrite the "encrypt passwords = no" of the virtual server. TIA, Stefan ______________________________________________________________________________ Nachrichten, Musik und Spiele schnell und einfach per Quickstart im WEB.DE Screensaver - Gratis downloaden: http://screensaver.web.de/?mc=021110
Gerald (Jerry) Carter
2004-Feb-26 15:15 UTC
[Samba] different "encrypt passwords" in virtual servers?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefan G?nther wrote: | | is it possible to use "encrypt passwords=yes" in the | main server configuration and "encrypt passwords=no" | in the virtual server configuration? Yup. Done it. If you have win2k or later clients and using Samba 3.0, you will need to add 'smb ports = 139' to smb.conf since virtual servers (%L) don't work when the client doesn't use netbios (port 445). cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAPg29IR7qMdg1EfYRAnQAAJ9gBaxUgivwa5HcNTV9uJRnWWDThgCfexzp NvDJqNa4augkdwCdPllUhC4=riM1 -----END PGP SIGNATURE-----
Stefan Günther
2004-Feb-28 19:11 UTC
[Samba] different "encrypt passwords" in virtual servers?
Hi, now my smb.conf files look like this. ############################## smb.conf: [global] workgroup=gruppe1 netbios name = Samba3 server string = Samba 3.0.2 passdb backend = tdbsam # encrypt passwords = yes # security = share log level =2 include = /usr/local/samba-302/lib/smb.conf.dos # encrypt passwords= yes security = user smb ports =445 [homes] comment = Heimat browseable= no writeable =yes smb.conf.dos: [global] netbios aliases =dos encrypt passwords =no [opt] path = /opt comment = Heimat browseable= no writeable =yes ############################## I can see both servers in the Windows explorer, but I can't log in. According to log.smbd the username/password is wrong. netstat -atnp shows open ports on 139 and 445, I even tried a connect with smbclient ... -p 445 or ... -p 139, same result, an error message. Any further hint? TIA, Stefan ______________________________________________________________________________ Nachrichten, Musik und Spiele schnell und einfach per Quickstart im WEB.DE Screensaver - Gratis downloaden: http://screensaver.web.de/?mc=021110