|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Network & Security Any network and / or security related questions should be posted in here. |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello.
I ran into problem when adding initial user using the following command : # smbldap-useradd -m -a root # smbldap-passwd root Changing password for root New password : paswd2 Retype new password paswd2 # smbpasswd -a New SMB password: paswd2 Retype new SMB password: paswd2 Added user root. # smbldap-groupmod -m root Domain\ Admins adding user root to group Domain Admins I could not log any more. So I reinstall all the server, restarting from the beginning. All the conf files ( smb.conf, smbuser, ............) are OK. I want to configure : -) Linux 10.3 admin user ==> root with password pass1 -) Samba and Ldap admin user ==> ldap_admin with password pass2 as specified in ldap.conf and smbldap_bind.conf. From different reading I understand that the root user must be known from samba ==> # smbpasswd -a root do the job. and # smbpasswd -w pass2 is used to specify the password to be used with the ldap admin dn I use an ldif file. But in this file there is no user administrator like : dn: uid=UUUUUUUU,ou=Users,dc=foobar,dc=tld cn: Admin sn: Admin objectClass: inetOrgPerson objectClass: sambaSamAccount objectClass: posixAccount objectClass: shadowAccount gidNumber: 512 uid: UUUUUUUU uidNumber: 998 homeDirectory: /home/UUUUUUUU sambaPwdLastSet: 0 sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaHomePath: \\bar\homes\UUUUUUUU sambaHomeDrive: H: sambaProfilePath: \\bar\profiles\UUUUUUUU\ sambaPrimaryGroupSID: S-1-5-21-2139989288-483860436-2398042574-512 sambaLMPassword: XXX sambaNTPassword: XXX sambaAcctFlags: [U ] sambaSID: S-1-5-21-2139989288-483860436-2398042574-2996 loginShell: /bin/false gecos: Netbios Domain Administrator structuralObjectClass: inetOrgPerson entryUUID: fc9199a6-e259-1027-968c-c73f68847b0c creatorsName: cn=ldap_admin,dc=foobar,dc=tld createTimestamp: 20040124014008Z entryCSN: 20040124014008Z#000004#00#000000 modifiersName: cn=ldap_admin,dc=foobar,dc=tld modifyTimestamp: 20040124014008Z So, do I put the user root in samba ldap and if yes how ? do I create an ldap_admin user in linux ? in samba ldap and how ? do I create an UUUUUUU ldap user admin in linux ? in samba ldap and how ? Normally, I should use root to join the samba domain with the password pass2 from any win2K client. I did the job following suse linux 10.1 HOWTO SAMBA PDC (using smbldap-populate), I could not do the same following suse linux 10.3 HOWTO SAMBA PDC witch use an ldif from http://tandyukservers.co.uk/docs/suse/LDAP-gen.php . Help If you please. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|