LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-28-2007, 07:11 PM   #1
Exutable
LQ Newbie
 
Registered: Mar 2005
Posts: 22

Rep: Reputation: 15
Configuring Samba for Fedora Directory Server


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@daneshea ~]# net getlocalsid
SID for domain SHEA is: S-1-5-21-578281780-2648695933-2708965967
[root@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@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@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\
logon path = \\home\%u\
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Samba with Active Server Directory !!! ajeetraina Linux - Server 2 08-12-2007 10:39 PM
LXer: Directory services made easy with Fedora Directory Server LXer Syndicated Linux News 0 12-08-2006 03:54 AM
Fedora Directory Server + Samba lynos Linux - General 1 02-21-2006 05:59 PM
Samba & Fedora Directory Server paul_mat Linux - Networking 0 07-13-2005 07:16 PM
Configuring Samba (Linux directory available on Windows XP) johnp Linux - Networking 2 05-16-2004 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration