jacques.hullu n00b
Joined: 10 Sep 2004 Posts: 3
|
Posted: Wed Sep 15, 2004 8:43 am Post subject: [SAMBA] pdbedit, sam & ldap |
|
|
Bonjour,
Je cherche à comprendre & a résoudre les lignes de warning (en couleur ci-dessous).
J'ai fait plusieurs test (Gentoo & Fedora) les erreurs sont similaires.
[root@lys samba]# pdbedit -vL
pm_process() returned Yes
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=TNN))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesful connected
Got too many (2) domain info entries for domain TNN
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=TNN))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesful connected
Got too many (2) domain info entries for domain TNN
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups, and will risk BDCs having inconsistant SIDs
ldapsam_setsampwent: 2 entries in the base!
init_sam_from_ldap: Entry found for user: admin
---------------
Unix username: admin
NT username: admin
Account Flags: [U ]
User SID: S-1-5-21-3295498278-3286385-2539910515-3000
Primary Group SID: S-1-5-21-3295498278-3286385-2539910515-512
Full Name: Netbios Domain Administrator
Home Directory: \\lys\admin\.profile
HomeDir Drive: Z:
Logon Script: admin.bat
Profile Path: \\lys\profiles\admin
Domain: TNN
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: ven, 13 déc 1901 21:45:51 GMT
Kickoff time: ven, 13 déc 1901 21:45:51 GMT
Password last set: mer, 15 sep 2004 10:02:10 GMT
Password can change: mer, 01 jan 2003 01:00:00 GMT
Password must change: sam, 19 jan 2030 04:14:07 GMT
Last bad password : 0
Bad password count : 0
[root@lys samba]# smbpasswd -a -i tenon
Got too many (2) domain info entries for domain TNN
New SMB password: secret
Retype new SMB password: secret
Failed to initialise SAM_ACCOUNT for user tenon$.
Failed to modify password entry for user tenon$
si quelqu'un en connait la cause... _________________ Jacques HULLU |
|