Samba and FDS 7.1 on Fedora Core 4 Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-07-20 at 16:32 +0200, Leonardo Pugliesi wrote:
> 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 at 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 at 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 at 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 at 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 at fedorac4 ~]#
> _____________________________________
> 
> some hints?
> 
> thank you
> Leon
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at 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




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux