Mandriva Directory Server FAQ
How do I log in to the MMC web interface ?
The web interface is available at http://your_server_name/mmc.
You can always log in to the MMC web interface using the root login and the LDAP administrator password.
After you installed the MMC, this is the only user you can use to log in to, because the LDAP directory is empty.
When I add a user, I get this error: "smbpasswd failed to change your password entry".
When adding a user with SAMBA properties, the MMC is using the SAMBA smbpasswd command. This error means smbpasswd could not contact the LDAP directory to properly add the SAMBA attributes to the user.
A good way to check that your SAMBA/LDAP setup is correctly configured is to create a user in the MMC web interface (called "usertest" for example) without the SAMBA properties checked, and then run this command:
# smbpasswd -a usertest New SMB password: [type a password] Retype new SMB password: [type the same password again]
This command tries to add the SAMBA LDAP attributes to the "usertest" account. If there is a setup problem, the smbpasswd output should help you to diagnose it.
The most common problem is that NSS/LDAP has not been configured. Check this part of this installation.
How to convert a Windows local profile to a SAMBA domain profile ?
You can use the "Moveuser.exe" utility available from the Windows 2003 Resource Kit.
C:\>moveuser/? Command Line Syntax: moveuser <user1> <user2> [/y] [/c:computer] [/k] Arguments: user1 Specifies a user who has a local profile. user2 Specifies the user who will own user1's profile. This account must exist. /y Allow overwrite of existing profile. /c Specifies the computer to make the changes to. /k Specifies if user1 is a local user, then the user account should be kept.
For example, type this on the Windows machine which owns the user1 local profile:
moveuser user1 DOMAIN\user1 /y /k
