[Samba] PDC doesnt work on RHEL 4

Sanjay Upadhyay sanju_qcd at yahoo.com
Sat Mar 19 09:37:07 GMT 2005


The exact configuration mentioned below used to work
on rhel3, and when updated to rhel4 it stopped
working...
when visited the samba log file, there was this error
:

useradd: invalid user name 'wpvm01$'

rpc_server/srv_samr_nt.c:_samr_create_user(2272)
  could not add user/computer wpvm01$ to passdb. 
Check permissions?
[2005/03/17 07:42:27, 0]
passdb/pdb_tdb.c:tdb_update_sam(609)
  tdb_update_sam: Failing to store a SAM_ACCOUNT for
[wpvm01$] without a primary group RID
[2005/03/17 07:42:27, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2272)
  could not add user/computer wpvm01$ to passdb. 
Check permissions?


this happens when I try to add a windows 200 Client to
the domain...

I am using samb 3.0.11 
My smb.conf is

[global]
        netbios name = QA1
        workgroup = ERR.CHK
        passdb backend = tdbsam

        obey pam restrictions = yes
        pam password change =  yes
        encrypt passwords = yes
        unix password sync = yes

        wins support = yes
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod
-G %g %u
        add machine script = /usr/sbin/useradd -s
/bin/false \
        -d /dev/null %u
        logon script = scripts\logon.bat
        os level = 33
        preferred master = yes
        domain master = yes
        local master = yes
        security = user
        domain logons = yes
        logon path = \\%N\profiles\%U
        logon drive = H:
        logon home = \\%N\%U
        idmap uid = 15000-20000
        idmap gid = 15000-20000
        admin users = @admins

any pointer or help would be very helpfull

regards



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


More information about the samba mailing list