GNUtoo@no-log.org
2007-Jan-20 19:20 UTC
[Samba] Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993.
# smbldap-useradd samba Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993. here my config: i have already populated the database: # smbldap-populate Populating LDAP directory for domain Workgroup (S-1-5-21-4205727931-4131263253-1851132061) (using builtin directory structure) entry dc=GNUtoo,dc=org already exist. entry ou=Users,dc=GNUtoo,dc=org already exist. entry ou=Groups,dc=GNUtoo,dc=org already exist. entry ou=Computers,dc=GNUtoo,dc=org already exist. entry ou=Idmap,dc=GNUtoo,dc=org already exist. entry uid=root,ou=Users,dc=GNUtoo,dc=org already exist. entry uid=nobody,ou=Users,dc=GNUtoo,dc=org already exist. entry cn=Domain Admins,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Domain Users,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Domain Guests,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Domain Computers,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Administrators,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Account Operators,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Print Operators,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Backup Operators,ou=Groups,dc=GNUtoo,dc=org already exist. entry cn=Replicators,ou=Groups,dc=GNUtoo,dc=org already exist. adding new entry: sambaDomainName=IDEALX-NT,dc=GNUtoo,dc=org failed to add entry: naming attribute 'sambaDomainName' is not present in entry at /usr/sbin/smbldap-populate line 471, <GEN1> line 21. Please provide a password for the domain root: Changing password for root New password : Retype new password : do i need to post all the config files?
Craig White
2007-Jan-21 06:20 UTC
[Samba] Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993.
On Sat, 2007-01-20 at 19:47 +0100, GNUtoo@no-log.org wrote:> # smbldap-useradd samba > Error looking for next uid at /usr/sbin//smbldap_tools.pm line 993. > > here my config: > i have already populated the database: > # smbldap-populate > Populating LDAP directory for domain Workgroup > (S-1-5-21-4205727931-4131263253-1851132061) > (using builtin directory structure) > > entry dc=GNUtoo,dc=org already exist. > entry ou=Users,dc=GNUtoo,dc=org already exist. > entry ou=Groups,dc=GNUtoo,dc=org already exist. > entry ou=Computers,dc=GNUtoo,dc=org already exist. > entry ou=Idmap,dc=GNUtoo,dc=org already exist. > entry uid=root,ou=Users,dc=GNUtoo,dc=org already exist. > entry uid=nobody,ou=Users,dc=GNUtoo,dc=org already exist. > entry cn=Domain Admins,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Domain Users,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Domain Guests,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Domain Computers,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Administrators,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Account Operators,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Print Operators,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Backup Operators,ou=Groups,dc=GNUtoo,dc=org already exist. > entry cn=Replicators,ou=Groups,dc=GNUtoo,dc=org already exist. > adding new entry: sambaDomainName=IDEALX-NT,dc=GNUtoo,dc=org > failed to add entry: naming attribute 'sambaDomainName' is not present in > entry at /usr/sbin/smbldap-populate line 471, <GEN1> line 21. > > Please provide a password for the domain root: > Changing password for root > New password : > Retype new password : > > do i need to post all the config files?---- seems that what you need to do is to fix smbldap.conf to match the sambaDomainName (I am quite certain that you need to change it from IDEALX-NT) and change any other configuration items in there as appropriate too. Craig
Reasonably Related Threads
- Error looking for next uid at /usr/share/perl5/smbldap_tools.pm
- SMBLDAP tools reports "modifications require authentication at /usr/sbin//smbldap_tools.pm" but manually command works.
- Unable to reset file permissions
- Cannot join Win XP SP2 client to domain
- smbldap-useradd says "Error: modifications require authentication at /usr/lib/perl5/5.8.8/smbldap_tools.pm line 1056."