[Samba] (no subject)

Dane Shea dane.shea at comcast.net
Thu Nov 29 00:51:37 GMT 2007


Hello I am trying to configure samba with Fedora Directory Server 1.0.4 on a
Fedora 8 machine.  I am following this guide:
http://directory.fedoraproject.org/wiki/Howto:Samba.  Everything has
"seemed" to work out fine until I got to the part of Populating FDS with PDC
Entry. My end result is hopefully that user can log in on Windows XP Pro
with pGina and have their home drive automounted using a logon script with
Samba using Fedora Directory Server as the backend.  By the way I don't know
if I have configured everything up until this step correct but I haven't
gotten any errors, is there any way to check if it is configured correctly?

 

 

Here is my terminal:

 

[root at daneshea ~]# net getlocalsid

SID for domain SHEA is: S-1-5-21-578281780-2648695933-2708965967

[root at daneshea ~]# gedit /tmp/sambaDomainName.ldif

 

my sambaDomainName.ldif:

 

 

dn: sambaDomainName=SHEA,dc=com

objectclass: sambaDomain

objectclass: sambaUnixIdPool

objectclass: top

sambaDomainName: SHEA

sambaSID: S-1-5-21-578281780-2648695933-2708965967

uidNumber: 550

gidNumber: 550

 

 

the end result:

 

[root at daneshea ~]# /opt/fedora-ds/slapd-daneshea/ldif2ldap "cn=Directory
manager" password /tmp/sambaDomainName.ldif

ldap_simple_bind: Can't connect to the LDAP server - Invalid argument
[root at daneshea ~]# 

 

 

 

I think that my smb.conf is configured correctly but I wouldn't really know,
as you can see I have 5 different users that I want to map network drives
for automatically when they logon via a logon script in samba:

 

 

 Global parameters

[global]

       workgroup = WORKGROUP

       netbios name = SHEA

       server string = Shea Server

       map to guest = Bad User

       

      log file = /var/log/samba/log.%m

       max log size = 50

       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

       

      preferred master = yes

       local master = yes

      domain master = yes

       dns proxy = No

       security = user

      

      passdb backend = ldapsam:ldap://192.168.1.109

      ldap admin dn = cn=Directory Manager

      ldap suffix = dc=com

      ldap user suffix = ou=People

      ldap machine suffix = ou=Computers

      ldap group suffix = ou=Groups

 

      domain logons = yes

      os level = 24

      logon script = %U.bat

      

 

 

      logon home = \\home\%u\ <file:///\\home\%25u\> 

      logon path = \\home\%u\ <file:///\\home\%25u\> 

      logon drive = P:

 

      template shell = /bin/false

      winbind use default domain = no

 

 

[netlogon]

      comment = The domain logon service

      path = /export/samba/logon

      public = no

      writeable = no

      browsable = no

 

 

# Share

[Chance]

       path = /home/CShea

      public = yes

       writeable = yes

[Dane]

       path = /home/DShea

      public = yes

            writeable = yes

[Berit]

       path = /home/BShea

      public = yes

            writeable = yes

[Dale]

       path = /home/DLShea

      public = yes

            writeable = yes

[Savanah]

       path = /home/SShea

      public = yes

            writeable = yes

 

 

 

--

Thanks

Dane Shea

 



More information about the samba mailing list