pdbedit Username not found!

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

 



Hi,

I've followed the Howto:Samba to install fds/samba on a centos5.0 box.

I keep coming across an error when I get to the pdbedit line of the howto:

pdbedit -U $( net getlocalsid | sed 's/SID for domain skysedge.co.uk is: //' )-500 -u Administrator -r
Username not found!

I'm not sure what I've done wrong and going through the howtow I can't see where I've messed up.  Wherever it is I've done it consistently because this is the second time I've tried.

ldapsearch shows Administrator does exist:

# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (uid=Administrator)
# requesting: ALL
#

# Administrator, People, skysedge.co.uk
dn: uid=Administrator,ou=People,dc=skysedge,dc=co,dc=uk
uid: Administrator
cn: Samba Admin
givenName: Samba
sn: Admin
mail: Administrator@xxxxxxxxxxxxxx
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: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

 
Any ideas?

Thanks,

Nick
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux