[Samba] Problems joining workstation with samba3

Filippo Panessa kalem at linux.it
Mon Sep 29 01:22:40 GMT 2003


Hi all,
I am trying to set up a samba server with samba3-final (I've got a PDC
with samba-2.2.8 + ldap and it works great, now I would like to
migrate).

I can't join machines to the domain:

# net rpc testjoin
[2003/09/29 02:46:45, 0] utils/net_rpc_join.c:net_rpc_join_ok(73)
  Error in domain join verfication
  Join to domain 'HOME' is not valid

My global section in smb.conf file is:
    
# smb.conf
[global]
   ldap server = laptop.home
   ldap suffix = ou=Users,dc=laptop,dc=home
   ldap admin dn = cn=manager,dc=laptop,dc=home
   ldap ssl = off
   ldap delete dn = yes
   ldap group suffix = ou=Groups
   ldap user suffix = ou=Users
   ldap machine suffix = ou=Machines
   ldap passwd sync = yes

   admin users = root Administrator
   workgroup = HOME
   comment = %h server (Samba %v)
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 \
      SO_RCVBUF=4096
   invalid users = bin daemon adm sync shutdown halt mail news uucp \
       operator gopher
   log file = /var/log/samba/log.%m

   domain master = yes
   domain logons = yes
   preferred master = yes
   os level = 255

   security = user
   null passwords = yes
   encrypt passwords = true

And in ldap database I've got:

dn: dc=laptop,dc=home
dc: laptop
objectClass: top
objectClass: domain
objectClass: domainRelatedObject
associatedDomain: laptop.home
structuralObjectClass: domain
entryUUID: 8c6fc14c-7efa-1027-9c89-97d20690e775
creatorsName: cn=manager,dc=laptop,dc=home
modifiersName: cn=manager,dc=laptop,dc=home
createTimestamp: 20030919143732Z
modifyTimestamp: 20030919143732Z
entryCSN: 2003091914:37:32Z#0x0001#0#0000

dn: sambaDomainName=HOME,dc=laptop,dc=home
sambaDomainName: HOME
sambaSID: S-1-5-21-1993653893-1826843911-45253619
sambaAlgorithmicRidBase: 1000
objectClass: sambaDomain
structuralObjectClass: sambaDomain
entryUUID: 9b621a42-7efa-1027-87df-f23cf538bc34
creatorsName: cn=manager,dc=laptop,dc=home
createTimestamp: 20030919143758Z
entryCSN: 2003091914:37:58Z#0x0001#0#0000
modifiersName: cn=manager,dc=laptop,dc=home
modifyTimestamp: 20030919143758Z

[...]

... also users and groups.

And groumap works great:

# net groupmap list
Domain Admins (S-1-5-21-1993653893-1826843911-45253619-512) -> root
Domain Users (S-1-5-21-1993653893-1826843911-45253619-513) -> users
Domain Guests (S-1-5-21-1993653893-1826843911-45253619-514) -> nogroup
System Operators (S-1-5-32-1993653893-1826843911-4294967295-547) -> sys
Backup Operators (S-1-5-32-1993653893-1826843911-4294967295-551) -> bin
Print Operators (S-1-5-32-1993653893-1826843911-4294967295-550) -> lp
Replicators (S-1-5-32-1993653893-1826843911-4294967295-552) -> daemon

Any idea or suggestions ? Thanks

-- 
Sigmentation fault, core dumped.



More information about the samba mailing list