about ldapsam:editposix extension

Tiziano Ceccarini tiziano.ceccarini at alice.it
Mon Oct 8 10:33:26 GMT 2007


I read hte documentation on http://wiki.samba.org/index.php/ 
Ldapsam_Editposix

when I run net sam how to it return to me some errors.

How to solve it ?

Thanks Tiziano


This is my smb.conf file:


workgroup = MYGROUP

encrypt passwords = true
   passdb backend = ldapsam

ldapsam:trusted=yes
   ldapsam:editposix=yes

ldap admin dn = cn=Directory manager
#cn=admin,dc=samba,dc=lan
   ldap delete dn = yes
   ldap group suffix = ou=groups
   ldap machine suffix = ou=computers
   ldap user suffix = ou=users
   ldap suffix = dc=samba,dc=lan



idmap domains = MYGROUP
   idmap config MYGROUP:backend = ldap
   idmap config MYGROUP:readonly = no
   idmap config MYGROUP:default = yes
   idmap config MYGROUP:ldap_base_dn = ou=idmap,dc=samba,dc=lan
   idmap config MYGROUP:ldap_user_dn = cn=admin,dc=samba,dc=lan
   idmap config MYGROUP:ldap_url = ldap://localhost
   idmap config MYGROUP:range = 50000-500000000
   idmap alloc backend = ldap
   idmap alloc config:ldap_base_dn = ou=idmap,dc=samba,dc=lan
   idmap alloc config:ldap_user_dn = cn=admin,dc=samba,dc=lan
   idmap alloc config:ldap_url = ldap://localhost
   idmap alloc config:range = 50000-500000000

This is the LDAP server ldif:

dn: dc=lan
dc: lan
objectClass: top
objectClass: domain

dn: cn=Directory Administrators, dc=lan
objectClass: top
objectClass: groupofuniquenames
cn: Directory Administrators

dn: ou=Groups, dc=lan
ou: Groups
objectClass: top
objectClass: organizationalunit

dn: ou=People, dc=lan
ou: People
objectClass: top
objectClass: organizationalunit

dn: ou=Special Users, dc=lan
ou: Special Users
description: Special Administrative Accounts
objectClass: top
objectClass: organizationalUnit

dn: cn=Accounting Managers,ou=groups, dc=lan
ou: groups
description: People who can manage accounting entries
objectClass: top
objectClass: groupOfUniqueNames
cn: Accounting Managers

dn: cn=HR Managers,ou=groups, dc=lan
ou: groups
description: People who can manage HR entries
objectClass: top
objectClass: groupOfUniqueNames
cn: HR Managers

dn: cn=QA Managers,ou=groups, dc=lan
ou: groups
description: People who can manage QA entries
objectClass: top
objectClass: groupOfUniqueNames
cn: QA Managers

dn: cn=PD Managers,ou=groups, dc=lan
ou: groups
description: People who can manage engineer entries
objectClass: top
objectClass: groupOfUniqueNames
cn: PD Managers

dn: uid=zippi,ou=People, dc=lan
givenName: Zippi
sn: Zappi
uidNumber: 1234
gidNumber: 100
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: posixAccount
objectClass: ntuser
uid: zippi
cn: Zippi Zappi
homeDirectory: /Users/zippi
ntUserDomainId: zippi

dn: sambaDomainName=CKWORK, dc=lan
sambaLogonToChgPwd: 0
sambaLockoutObservationWindow: 30
sambaMaxPwdAge: -1
sambaRefuseMachinePwdChange: 0
sambaLockoutThreshold: 0
sambaMinPwdAge: 0
sambaNextUserRid: 1000
sambaForceLogoff: -1
sambaLockoutDuration: 30
objectClass: sambaDomain
objectClass: top
sambaDomainName: CKWORK
sambaSID: S-1-5-21-3829616533-3733708876-432949293
sambaPwdHistoryLength: 0
sambaMinPwdLength: 5
sambaNextRid: 1006
sambaAlgorithmicRidBase: 1000

dn: cn=Domain Admins,ou=Groups, dc=lan
sambaSID: S-1-5-21-3829616533-3733708876-432949293-2512
gidNumber: 2512
displayName: Domain Admins
sambaGroupType: 2
description: Domain Unix group
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
cn: Domain Admins

dn: cn=Domain Users,ou=Groups, dc=lan
sambaSID: S-1-5-21-3829616533-3733708876-432949293-2513
gidNumber: 2513
displayName: Domain Users
sambaGroupType: 2
description: Domain Unix group
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
cn: Domain Users

dn: cn=Domain Guests,ou=Groups, dc=lan
sambaSID: S-1-5-21-3829616533-3733708876-432949293-2514
gidNumber: 2514
displayName: Domain Guests
sambaGroupType: 2
description: Domain Unix group
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
cn: Domain Guests

dn: cn=Domain Computers,ou=Groups, dc=lan
sambaSID: S-1-5-21-3829616533-3733708876-432949293-2515
gidNumber: 2515
displayName: Domain Computers
sambaGroupType: 2
description: Domain Unix group
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
cn: Domain Computers

dn: cn=,ou=Groups, dc=lan
gidNumber:
objectClass: posixGroup
objectClass: top
cn:

dn: ou=Computers, dc=lan
ou: Computers
objectClass: top
objectClass: organizationalunit

dn: uid=vnc,ou=People, dc=lan
sambaNTPassword: 7A21990FCD3D759941E45C490F143D5F
sambaPasswordHistory:  
0000000000000000000000000000000000000000000000000000000
000000000
sambaSID: S-1-5-21-3829616533-3733708876-432949293-1002
uid: vnc
sambaLMPassword: AEBD4DE384C7EC43AAD3B435B51404EE
sambaPwdLastSet: 1191790388
objectClass: sambaSamAccount
objectClass: account
objectClass: top
sambaAcctFlags: [U          ]

dn: uid=pp,ou=People, dc=lan
givenName: pp
sn: p
uidNumber: 1234
gidNumber: 1234
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: ntuser
objectClass: posixAccount
uid: pp
cn: pp p
homeDirectory: /
ntUserDomainId: pp

dn: uid=pp,uid=pp,ou=People, dc=lan
uid: pp
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
givenName: pluto
sn: p
cn: pluto p

dn: uid=ccul,ou=People, dc=lan
mail: no
ntUserCreateNewAccount: true
uid: ccul
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: ntuser
givenName: cul
ntUserDomainId: ccul
sn: cul
cn: cul cul

dn: uid=Tiziano,ou=People, dc=lan
sambaLMPassword: 66A5DDD8FAB46B0E7C3113B4A1A5E3A0
displayName: Tiziano Ceccatini
givenName: Tiziano
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: sambaSamAccount
uid: Tiziano
mail: Tiziano at lan
uidNumber: 0
cn: Tiziano Ceccatini
sambaPwdLastSet: 1191791077
sambaAcctFlags: [U          ]
loginShell: /bin/bash
gidNumber: 0
sambaNTPassword: 4ECA28E7FABD37D33AB3CAFAC5D73A1C
gecos: Tiziano Ceccatini
sambaSID: S-1-5-21-3829616533-3733708876-432949293-1006
homeDirectory: /Users/tiziano
sn: Ceccatini
sambaPasswordHistory:  
0000000000000000000000000000000000000000000000000000000
000000000

dn: uid=Fabio,ou=People, dc=lan
givenName: Fabio
sn: Ceccarini
loginShell: /bin/bas
gidNumber: 0
uidNumber: 0
mail: Fabio at lan
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
uid: Fabio
gecos: Fabio Ceccarini
cn: Fabio Ceccarini
homeDirectory: /Users/fabio

dn: dc=samba, dc=lan
dc: samba
objectClass: top
objectClass: dcObject
objectClass: organization
o: samba.org

dn: cn=admin,dc=samba, dc=lan
description: LDAP administrator
objectClass: simpleSecurityObject
objectClass: organizationalRole
objectClass: top
cn: admin

dn: ou=users,dc=samba, dc=lan
ou: users
objectClass: top
objectClass: organizationalUnit

dn: ou=groups,dc=samba, dc=lan
ou: groups
objectClass: top
objectClass: organizationalUnit

dn: ou=idmap,dc=samba, dc=lan
ou: idmap
objectClass: top
objectClass: organizationalUnit

dn: ou=computers,dc=samba, dc=lan
ou: computers
objectClass: top
objectClass: organizationalUnit

dn: sambaDomainName=SERVER,dc=samba, dc=lan
sambaLogonToChgPwd: 0
sambaLockoutObservationWindow: 30
sambaMaxPwdAge: -1
sambaRefuseMachinePwdChange: 0
sambaLockoutThreshold: 0
sambaMinPwdAge: 0
sambaNextUserRid: 1000
sambaForceLogoff: -1
sambaLockoutDuration: 30
objectClass: sambaDomain
objectClass: top
sambaDomainName: SERVER
sambaSID: S-1-5-21-3829616533-3733708876-432949293
sambaPwdHistoryLength: 0
sambaMinPwdLength: 5
sambaAlgorithmicRidBase: 1000

dn: uid=Administrator,ou=People, dc=lan
sambaPwdLastSet: 1191801121
givenName: Samba
sn: Admin
sambaAcctFlags: [U          ]
loginShell: /bin/bash
gidNumber: 0
uidNumber: 0
mail: Administrator at lan
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: sambaSamAccount
uid: Administrator
gecos: Samba Admin
sambaSID: S-1-5-21-3829616533-3733708876-432949293-500
cn: Samba Admin
homeDirectory: /root
sambaNTPassword: B38739FD8B645604FE94D2D9872C050E
sambaPasswordHistory:  
0000000000000000000000000000000000000000000000000000000
000000000
sambaLMPassword: AB438081006DF923502889C576281DB7



This is the output of net sam provision

[root at server xinetd.d]# net -d10 sam provision
[2007/10/08 12:27:33, 5] lib/debug.c:debug_dump_status(391)
   INFO: Current debug levels:
     all: True/10
     tdb: False/0
     printdrivers: False/0
     lanman: False/0
     smb: False/0
     rpc_parse: False/0
     rpc_srv: False/0
     rpc_cli: False/0
     passdb: False/0
     sam: False/0
     auth: False/0
     winbind: False/0
     vfs: False/0
     idmap: False/0
     quota: False/0
     acls: False/0
     locking: False/0
     msdfs: False/0
     dmapi: False/0
[2007/10/08 12:27:33, 3] param/loadparm.c:lp_load(5040)
   lp_load: refreshing parameters
[2007/10/08 12:27:33, 3] param/loadparm.c:init_globals(1430)
   Initialising global parameters
[2007/10/08 12:27:33, 3] param/params.c:pm_process(572)
   params.c:pm_process() - Processing configuration file "/etc/samba/ 
smb.conf"
   doing parameter workgroup = MYGROUP
   doing parameter encrypt passwords = true
   doing parameter passdb backend = ldapsam
   doing parameter ldapsam:trusted = yes
   doing parameter ldapsam:editposix = yes
   doing parameter ldap admin dn = cn=Directory manager
   doing parameter ldap delete dn = yes
   doing parameter ldap group suffix = ou=groups
   doing parameter ldap machine suffix = ou=computers
   doing parameter ldap user suffix = ou=users
   doing parameter ldap suffix = dc=samba,dc=lan
   doing parameter idmap domains = MYGROUP
   doing parameter idmap config MYGROUP:backend = ldap
   doing parameter idmap config MYGROUP:readonly = no
   doing parameter idmap config MYGROUP:default = yes
   doing parameter idmap config MYGROUP:ldap_base_dn =  
ou=idmap,dc=samba,dc=lan
   doing parameter idmap config MYGROUP:ldap_user_dn =  
cn=admin,dc=samba,dc=lan
   doing parameter idmap config MYGROUP:ldap_url = ldap://localhost
   doing parameter idmap config MYGROUP:range = 50000-500000000
   doing parameter idmap alloc backend = ldap
   doing parameter idmap alloc config:ldap_base_dn =  
ou=idmap,dc=samba,dc=lan
   doing parameter idmap alloc config:ldap_user_dn =  
cn=admin,dc=samba,dc=lan
   doing parameter idmap alloc config:ldap_url = ldap://localhost
   doing parameter idmap alloc config:range = 50000-500000000
[2007/10/08 12:27:33, 4] param/loadparm.c:lp_load(5071)
   pm_process() returned Yes
[2007/10/08 12:27:33, 7] param/loadparm.c:lp_servicenumber(5209)
   lp_servicenumber: couldn't find homes
[2007/10/08 12:27:33, 10] param/loadparm.c:set_server_role(4315)
   set_server_role: role = ROLE_STANDALONE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UCS-2LE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UCS-2LE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UTF-16LE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UTF-16LE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UCS-2BE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UCS-2BE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UTF-16BE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UTF-16BE
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UTF8
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UTF8
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UTF-8
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UTF-8
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset ASCII
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset ASCII
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset 646
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset 646
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset ISO-8859-1
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset ISO-8859-1
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(105)
   Attempting to register new charset UCS2-HEX
[2007/10/08 12:27:33, 5] lib/iconv.c:smb_register_charset(113)
   Registered charset UCS2-HEX
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/charcnv.c:charset_name(82)
   Substituting charset 'UTF-8' for LOCALE
[2007/10/08 12:27:33, 5] lib/util.c:init_names(309)
   Netbios name list:-
   my_netbios_names[0]="SERVER"
[2007/10/08 12:27:33, 2] lib/interface.c:add_interface(81)
   added interface ip=192.168.0.5 bcast=192.168.0.255  
nmask=255.255.255.0
[2007/10/08 12:27:33, 2] lib/interface.c:add_interface(81)
   added interface ip=192.168.122.1 bcast=192.168.122.255  
nmask=255.255.255.0
[2007/10/08 12:27:33, 10] intl/lang_tdb.c:lang_tdb_init(138)
   lang_tdb_init: /usr/lib64/samba/en_US.UTF-8.msg: No such file or  
directory
Checking for Domain Users group.
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend ldapsam
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'ldapsam'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend ldapsam_compat
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'ldapsam_compat'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend NDS_ldapsam
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'NDS_ldapsam'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend NDS_ldapsam_compat
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'NDS_ldapsam_compat'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend smbpasswd
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'smbpasswd'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(68)
   Attempting to register passdb backend tdbsam
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:smb_register_passdb(81)
   Successfully added passdb backend 'tdbsam'
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:make_pdb_method_name 
(121)
   Attempting to find an passdb backend to match ldapsam (ldapsam)
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:make_pdb_method_name 
(142)
   Found pdb backend ldapsam
[2007/10/08 12:27:33, 2] lib/smbldap_util.c:smbldap_search_domain_info 
(256)
   smbldap_search_domain_info: Searching for:[(& 
(objectClass=sambaDomain)(sambaDomainName=SERVER))]
[2007/10/08 12:27:33, 5] lib/smbldap.c:smbldap_search_ext(1182)
   smbldap_search_ext: base => [dc=samba,dc=lan], filter => [(& 
(objectClass=sambaDomain)(sambaDomainName=SERVER))], scope => [2]
[2007/10/08 12:27:33, 5] lib/smbldap.c:smbldap_close(1085)
   The connection to the LDAP server was closed
[2007/10/08 12:27:33, 10] lib/smbldap.c:smb_ldap_setup_conn(630)
   smb_ldap_setup_connection: ldap://localhost
[2007/10/08 12:27:33, 2] lib/smbldap.c:smbldap_open_connection(786)
   smbldap_open_connection: connection opened
[2007/10/08 12:27:33, 10] lib/smbldap.c:smbldap_connect_system(951)
   ldap_connect_system: Binding to ldap server ldap://localhost as  
"cn=Directory manager"
[2007/10/08 12:27:33, 3] lib/smbldap.c:smbldap_connect_system(997)
   ldap_connect_system: succesful connection to the LDAP server
   ldap_connect_system: LDAP server does not support paged results
[2007/10/08 12:27:33, 4] lib/smbldap.c:smbldap_open(1065)
   The LDAP server is succesfully connected
[2007/10/08 12:27:33, 5] passdb/pdb_interface.c:make_pdb_method_name 
(153)
   pdb backend ldapsam has a valid init
[2007/10/08 12:27:33, 5] lib/smbldap.c:smbldap_search_ext(1182)
   smbldap_search_ext: base => [ou=groups,dc=samba,dc=lan], filter =>  
[(&(objectClass=sambaGroupMapping) 
(sambaSID=S-1-5-21-3829616533-3733708876-432949293-513))], scope => [2]
[2007/10/08 12:27:33, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2235)
   ldapsam_getgroup: Did not find group
Adding the Domain Users group.
Unable to allocate a new gid to create Domain Users group!
Checking for Domain Admins group.
[2007/10/08 12:27:33, 5] lib/smbldap.c:smbldap_search_ext(1182)
   smbldap_search_ext: base => [ou=groups,dc=samba,dc=lan], filter =>  
[(&(objectClass=sambaGroupMapping) 
(sambaSID=S-1-5-21-3829616533-3733708876-432949293-512))], scope => [2]
[2007/10/08 12:27:33, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2235)
   ldapsam_getgroup: Did not find group
Adding the Domain Admins group.
Unable to allocate a new gid to create Domain Admins group!
Check for Administrator account.
[2007/10/08 12:27:33, 5] lib/smbldap.c:smbldap_search_ext(1182)
   smbldap_search_ext: base => [dc=samba,dc=lan], filter => [(& 
(uid=Administrator)(objectclass=sambaSamAccount))], scope => [2]
[2007/10/08 12:27:33, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1401)
   ldapsam_getsampwnam: Unable to locate user [Administrator] count=0
Adding the Administrator user.
Can't create Administrator user, Domain Admins group not available!
[2007/10/08 12:27:33, 2] utils/net.c:main(1036)
   return code = 0





More information about the samba-technical mailing list