Calling all samba gurus. I'm using samba right now as a basic file
server for my home lan right now. I made it the PDC so now I can login
to the domain from any windows machine on the network, authenticating
back to the samba machine. But I am having one slight problem.
All the users that want to login to the domain via the windows machines,
also have to have an entry in the /etc/passwd file on the linux machine
housing the samba server. This is what I get when I try to add a user
"testuser" to the samba passwd file, but who is not present in
/etc/passwd.

[root@westernwall bin]# ./smbpasswd -a testuser
INFO: Debug class all level = 1   (pid 9967 from pid 9967)
New SMB password:
Retype new SMB password:
User testuser does not exist in system password file (usually
/etc/passwd). Cannot add account without a valid local system user.
Failed to modify password entry for user testuser
[root@westernwall bin]# 

Is it a requirement that an entry for user "testuser" must be present in
the linux password file /etc/passwd?Or do I have to at least create them
an account, which then becomes their home directory, place to store
profiles, etc etc?? Any help would be greatly appreciated.
Snippets of my relevant smb.conf file are pasted. 

Smb.conf-----------------------------
[global]
       domain logons = yes
        domain admin group = @wheel
        unix password sync = true
        passwd program = /usr/bin/passwd %u
        passwd chat = *password* %n\n *password* %n\n *successful*
        preferred master = yes
        logon drive = u:
        logon home = \\westernwall\%u
        logon path =  \\%N\%U\profile
        pam password change = true
        nt acl support = no

[netlogon]
        path = /home/netlogon
        logon script = logon.bat
        read only = no
        write list = @wheel
        browseable = no
        create mask = 0644
        directory mask = 0700
        guest ok = no  
        comment = Scripts, Logons, and Polocies
        
[profiles]
        path = /home/netlogon/profiles
        writable = yes
        create mask = 0600
        directory mask = 0700
        read only = no

TIA,
Jeff

-------------------------------
Jeffrey Forman
E-Mail: [EMAIL PROTECTED]
------------------------------- 


_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to