On Thu, 2005-07-21 at 10:36 +0200, Leonardo Pugliesi wrote: > Adam Stokes ha scritto: > > >>>Leon, > >>> > >>>I think since you have an administrator account set already, do > >>> > >>>smbpasswd Adminsitrator > >>> > >>>the '-a' switch tells samba to add that user without it will just change > >>>the password and add the appropriate entries to directory server > >>> > >>>-- > >>>Fedora-directory-users mailing list > >>>Fedora-directory-users@xxxxxxxxxx > >>>https://www.redhat.com/mailman/listinfo/fedora-directory-users > >>> > >>> > >>> > >>> > >>> > >>if i use "smbpasswd Administrator" i get: > >>_______________________________ > >>[root@fedorac4 ~]# smbpasswd Administrator > >>New SMB password: > >>Retype new SMB password: > >>Failed to find entry for user administrator. > >>Failed to modify password entry for user administrator > >>[root@fedorac4 ~]# > >>_______________________________ > >>so it seems that i can't add Administrator because the entry alredy > >>exists, but i can't modify it because it doesn't exists..... > >>am i missing something :-) > >> > >>thanx > >> > >>-- > >>Fedora-directory-users mailing list > >>Fedora-directory-users@xxxxxxxxxx > >>https://www.redhat.com/mailman/listinfo/fedora-directory-users > >> > >> > > > >What does your smb.conf look like? Also is there anything in the samba > >logs? > > > >-- > >Fedora-directory-users mailing list > >Fedora-directory-users@xxxxxxxxxx > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > > This is smb.conf (global section): > > [global] > workgroup = FEDORAC4 > username map = /etc/samba/smbusers > enable privileges = yes > server string = Samba Server %v > security = user > encrypt passwords = Yes > min passwd length = 3 > obey pam restrictions = No > ldap passwd sync = Yes > #unix password sync = Yes > passwd program = /opt/IDEALX/sbin/smbldap-passwd -u %u > #passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new password*" %n\n" > ldap passwd sync = Yes > log level = 0 > syslog = 0 > log file = /var/log/samba/log.%m > max log size = 100000 > time server = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > mangling method = hash2 > Dos charset = 850 > Unix charset = ISO8859-1 > logon script = logon.bat > logon drive = H: > logon home = > logon path = > domain logons = Yes > os level = 65 > preferred master = Yes > domain master = Yes > wins support = Yes > passdb backend = ldapsam:ldap://fedorac4.localdomain > #passdb backend = ldap:ldap://fedorac4.localdomain > # passdb backend = ldapsam:"ldap://127.0.0.1/ ldap://slave.idealx.com" > ldap filter = (&(objectclass=sambaSamAccount)(uid=%u)) > ldap admin dn = cn=Directory Manager > ldap suffix = dc=localdomain > ldap group suffix = ou=Groups > ldap user suffix = ou=People > ldap machine suffix = ou=Computers > ldap idmap suffix = ou=Users > #ldap ssl = start tls > add user script = /opt/IDEALX/sbin/smbldap-useradd -m "%u" > ldap delete dn = Yes > #delete user script = /opt/IDEALX/sbin/smbldap-userdel "%u" > add machine script = /opt/IDEALX/sbin/smbldap-useradd -w "%u" > add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g" > #delete group script = /opt/IDEALX/sbin/smbldap-groupdel "%g" > add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m "%u" "%g" > delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x "%u" "%g" > set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g "%g" "%u" > > > samba logs is empty > Leon > > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/fedora-directory-users Not sure at this point, looks like you are using idealx scripts for some of the administration maybe they created the admin account? -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users