[Samba] Second Post: Unable to add user with Samba 2.2.7 - LDAP - PDC

Matthieu Turpault matthieu.turpault at comelis.fr
Thu Jan 16 10:30:01 GMT 2003


	I did not have any response of my first mail. Perhaps I did not be enough

		Since I have installed the latest version of samba (2.2.7), I can't see
user of my domain with the Win2K User management console. I have try to
change several attribute in my user ( in particular acctFlags ) but I cannot
manage with making my system works.

Do you have any idea ?

Thanks in advance

Matthieu Turpault

	- a sample of a user in my LDAP directory
	- my first post


A sample of a user in my LDAP directory:

dn: uid=mat,ou=users,o=comelis
loginShell: /bin/bash
objectClass: cmlsPerson
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: sambaAccount
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: qmailUser
sn: Turpault
gecos: Matthieu Turpault
mail: matthieu.turpault at comelis.fr
qmailGID: 100
givenName: Matthieu
uidNumber: 1002
homeDirectory: /homes/matthieu
pwdLastSet: 1042190742
logonTime: 0
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 0
pwdMustChange: 2147483647
displayName: Matthieu Turpault
cn: Matthieu Turpault
rid: 998
primaryGroupID: 999
acctFlags:: IFtVWCAgICAgICAgIF0=       ( ie [UX      ] )
gidNumber: 100
uid: mat

    My first post

Hi list,

	I have used samba-2.2.3a/LDAP acting as a PDC. If I want to add a user in
the administrative group of a workstations, I could see all  users of the

	Everything worked well until I migrate to samba-2.2.7a/LDAP. Now, I can
only see the group but no user. My smb.conf was not changed.

	A google search does not help me.
	Do you have any idea ?

	Thanks in advance.

My configuration:
	Mandrake 8.2
	Samba 2.2.7


-------------- my smb.conf --------------------
    workgroup = MDKGROUP
    server string = Samba Server %v
    log file = /var/log/samba/log.%m
    max log size = 5000
    security = user
    encrypt passwords = yes
    ldap admin dn = "cn=manager,id=1"
    ldap server = ldap.comelis.fr
    ldap ssl = off
    ldap port = 389
    ldap suffix = "id=1"
    ldap filter = "(&(uid=%u)(objectclass=sambaAccount))"
    unix password sync = Yes
    passwd program = /usr/share/samba/scripts/smbldap-passwd.pl %u
    passwd chat = *New*password*:* %n\r *Retype*new*password*:* %n\r
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    logon path = ""
    logon drive = w
    logon script = STARTUP.BAT
    dns proxy = no
    netbios name = Lea
    map to guest = bad user
    password level = 0
    null passwords = no
    os level = 33
    preferred master = yes
    domain master = yes
    wins support = no
    dead time = 0
    domain logons = yes
    interfaces = eth0
    name resolve order = host bcast
    load printers = yes
    client code page = 850
    character set = ISO8859-15
    password server =

    comment = Home Directories
    browseable = yes
    writable = yes
    available = yes
    public = no
    only user = no
    preexec close = no
    root preexec close = no

    path = /var/lib/samba/profiles
    browseable = no
    guest ok = yes
    writable = yes

    available = yes
    path = /var/lib/samba/netlogon
    guest ok = yes
    preexec close = no
    root preexec close = no
    browseable = no
    comment = Network Logon Service

-----------end of my smb.conf -----------------

More information about the samba mailing list