Greetings, I have a mostly working Samba Primary Domain Contoller. I have one last problem to work out. When I try to connect as Administrator I get the follwoing message: # smbclient -L localhost -UAdministrator%SOMEPW session setup failed: NT_STATUS_LOGON_FAILURE I watch the ldap logs and see that samba is requesting the following filter: filter: (&(uid=root)(objectClass=sambaSamAccount)) I assume this is because the PDC Administrator user is assigned uidnumber=0 which is also the UNIX root user's UID. I am betting this is something simple that I am overlooking. Any help is appreciated. SYSTEM INFO: LDAP SERVER: Redhat Enterpris 3.4 openldap-2.0.27-17 SAMBA PDC: Fedora Core 1 samba-3.0.11-1 I followed instructions found at : http://samba.idealx.org/smbldap-howto.fr.html --Ez __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
> I assume this is because the PDC Administrator user is > assigned uidnumber=0 which is also the UNIX root > user's UID.Yes, therefore, did you run these commands: http://us2.samba.org/samba/docs/man/Samba-Guide/happy.html#id2557728 No. 12 In the above listing, you can see that the user root has been given UID=998. This means that operations conducted from a Windows client using tools such as the Domain User Manager fails under UNIX because the management of user and group accounts requires that the UID=0. You decide to rectify this immediately as demonstrated here: root# cd /opt/IDEALX/sbin root# ./smbldap-usermod -u 0 -d /root -s /bin/bash root Verify that the changes just made to the root account were accepted by executing: root# getent passwd | grep root root:x:0:0:root:/root:/bin/bash root:x:0:512:Netbios Domain Administrator:/root:/bin/bash Thanks. -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 742001 E ghenry@suretecsystems.com Open Source. Open Solutions(tm). http://www.suretecsystems.com/
> Look <filename> defined in global section of the smb.conf > > username map = <filename> > > > Something in <filename> > > root = AdministratorAH!!! That is it!! I just had to remove those entries and there you go. Thank you so much Sergey, --Ez
That Howto miss something on this topic. try: smbldap-polulate -k 0 It works for me. good luck Steve> Greetings, > > I have a mostly working Samba Primary Domain > Contoller. I have one last problem to work out. > > When I try to connect as Administrator I get the > follwoing message: > > # smbclient -L localhost -UAdministrator%SOMEPW > session setup failed: NT_STATUS_LOGON_FAILURE > > I watch the ldap logs and see that samba is requesting > the following filter: > > filter: (&(uid=root)(objectClass=sambaSamAccount)) > > I assume this is because the PDC Administrator user is > assigned uidnumber=0 which is also the UNIX root > user's UID. > > I am betting this is something simple that I am > overlooking. Any help is appreciated. > > SYSTEM INFO: > > LDAP SERVER: Redhat Enterpris 3.4 > openldap-2.0.27-17 > > SAMBA PDC: Fedora Core 1 > samba-3.0.11-1 > > > I followed instructions found at : > http://samba.idealx.org/smbldap-howto.fr.html > > --Ez > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/-- Regards, Steve Zeng Systems Administrator Mainframe Entertainment Inc T: (604) 628-1000 ext 5293