Leonardo Pugliesi ha scritto:
> Adam Stokes ha scritto:
>
>> Ok I know what the problem is, its my fault :( when I was testing this I
>> always run the following :
>>
>> getent group
>>
>> This should display
>> Domain Admins:x:2512:
>> Domain Users:x:2513:
>> Domain Guests:x:2514:
>> Domain Computers:x:2515:
>>
>> So, if that doesn't display those groups after adding them to the ldap
>> server run the following (on fedora)
>>
>> authconfig
>>
>> Configure user information to use LDAP, this will configure PAM
>> correctly and then you should be able to proceed.
>>
>> Ill get that added right away
>>
>>
>>
> OK, now working...
> net groupmapping result:
> Successfully added group Domain Admins to the mapping db
> thanks a lot
> Leon
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
i managed to execute net groupmap add etc., but i have problems in the
next step of how-to:
i added the entry of "Administrator" as shown in the how-to but on
smbpasswd -a Administrator i get the following error:
________________________________________________
[root@fedorac4 ~]# smbpasswd -a Administrator
New SMB password:
Retype new SMB password:
ldapsam_modify_entry: Failed to add user dn=
uid=Administrator,ou=People,dc=localdomain with: Already exists
ldapsam_add_sam_account: failed to modify/add user with uid =
Administrator (dn = uid=Administrator,ou=People,dc=localdomain)
Failed to add entry for user Administrator.
Failed to modify password entry for user Administrator
[root@fedorac4 ~]#
________________________________________________
the ldapsearch -x -Z shows the entry in this way:
_____________________________________
# Administrator, People, localdomain
dn: uid=Administrator,ou=People,dc=localdomain
uid: Administrator
cn: Samba Admin
givenName: Samba
sn: Admin
mail: Administrator@localdomain
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
loginShell: /bin/bash
uidNumber: 0
gidNumber: 0
homeDirectory: /root
gecos: Samba Admin
# search result
search: 3
result: 0 Success
# numResponses: 16
# numEntries: 15
[root@fedorac4 ~]#
_____________________________________
some hints?
thank you
Leon
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
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