Hi, Our Debian 3.01 file server, running Samba 3.0.0 is setup for guest access to all of the shares. Now I want to add one username, that is a private share for payroll. I added the username 'pam' with adduser, and configured smb.conf, see below. [Payroll] path = /home/pam comment = Private valid users = pam writeable = yes username level = 3 Do I need to do anything to the smbusers file? When I try to access that share, I'm not able to enter a username. It's defaulting to guest, and prompting for a password. Actually, it's doing this for all shares. When I first set this up a few weeks back, I was being prompted for a password, but I could never connect successfully, so I left it alone. (Currently searching the archived logs for an answer.) Would it be easier to just make a password-protected directory in one of the existing guest shares? Thanks in advance for any input. Jared
Gerald (Jerry) Carter
2004-Jan-09 15:49 UTC
[Samba] No option for username when logging in.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 8 Jan 2004, Francis Buxton wrote:> Our Debian 3.01 file server, running Samba 3.0.0 is setup for guest > access to all of the shares. Now I want to add one username, that is a > private share for payroll. I added the username 'pam' with adduser, and > configured smb.conf, see below. > > [Payroll] > path = /home/pam > comment = Private > valid users = pam > writeable = yes > username level = 3 > > Do I need to do anything to the smbusers file? > > When I try to access that share, I'm not able to enter a username. > It's defaulting to guest, and prompting for a password. Actually, it's > doing this for all shares. When I first set this up a few weeks back, I > was being prompted for a password, but I could never connect > successfully, so I left it alone. (Currently searching the archived > logs for an answer.)i'll bet you have 'security = share'. User mode security is much more intuitive. 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.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE//szmIR7qMdg1EfYRAp5ZAKDZ3lpL7rwFhVlKGLo1jblxvDcQyQCg8LI9 9ymIURZfFF5x7Atf16Udzb0=3gP+ -----END PGP SIGNATURE-----