You are not logged in.

#1 2006-06-15 15:49:42

chane
Member
Registered: 2003-12-02
Posts: 93

Samba / LDAP / PAM / NSS - HowTo?

We have our email servers (for authentication) running off of LDAP (Postfix & CourierIMAP).

We want to add Samba authentication/authorization to the LDAP profile.  There are lots of moving parts to make this work and we haven't quit figured it out yet.

Does anyone know of a good information source that describes the neccessary configuration steps.  We know lots about LDAP and Samba - we just can't seem to get the two to work together.

I think we are stuck on PAM.  We've read lots of documentation but it just isn't jellying in our heads and most of the examples are for Redhat (that we can find).

I realize this is short on details for our specific problem - any pointers to information or working configurations that can be examined would be much appreciated.

Thanks,
Chris....

Offline

#2 2006-06-15 20:12:21

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: Samba / LDAP / PAM / NSS - HowTo?

this is what i used when i setup openldap with samba on arch. http://www.idealx.com/downloads/samba3-ldap-howto.pdf

my setup is gone though...

Offline

#3 2006-06-20 18:21:42

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Samba / LDAP / PAM / NSS - HowTo?

What do you mean by stuck on pam ???
I got a functionel LDAP/Samba running ??


Just getting better .... All the time

Offline

#4 2006-06-20 19:35:22

chane
Member
Registered: 2003-12-02
Posts: 93

Re: Samba / LDAP / PAM / NSS - HowTo?

Thanks for helping.  We finally got it to work.  Missed a step in the IDEALX example setup.....

Offline

#5 2006-09-07 04:47:44

haoh_maro
Member
Registered: 2005-02-15
Posts: 9

Re: Samba / LDAP / PAM / NSS - HowTo?

Sorry for asking this question but it seem there is no pkg name smbldap-tools provided by archlinux. Could you guys tell me how's your installation?

Or did you just install from original pkg?

Thanks.

Offline

#6 2006-09-07 06:17:22

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Samba / LDAP / PAM / NSS - HowTo?

I think all have installed from the original pkg!


Just getting better .... All the time

Offline

#7 2006-09-07 08:42:14

haoh_maro
Member
Registered: 2005-02-15
Posts: 9

Re: Samba / LDAP / PAM / NSS - HowTo?

I realized that samba installation in arch doesn't include samba.schema. I'd copy from original pkg and extract the file to the right folder but when I issue # slaptest

it's give me this error;

/etc/openldap/schema/samba.schema: line 277: Unexpected token before  NAME 'sambaTrustPassword' SUP top STRUCTURAL    DESC 'Samba Trust Password'    MUST ( sambaDomainName $ sambaNTPassword $ sambaTrustFlags )    MAY ( sambaSID $ sambaPwdLastSet ))
AttributeTypeDescription = "(" whsp
  numericoid whsp      ; AttributeType identifier
  [ "NAME" qdescrs ]             ; name used in AttributeType
  [ "DESC" qdstring ]            ; description
  [ "OBSOLETE" whsp ]
  [ "SUP" woid ]                 ; derived from this other
                                   ; AttributeType
  [ "EQUALITY" woid ]            ; Matching Rule name
  [ "ORDERING" woid ]            ; Matching Rule name
  [ "SUBSTR" woid ]              ; Matching Rule name
  [ "SYNTAX" whsp noidlen whsp ] ; see section 4.3
  [ "SINGLE-VALUE" whsp ]        ; default multi-valued
  [ "COLLECTIVE" whsp ]          ; default not collective
  [ "NO-USER-MODIFICATION" whsp ]; default user modifiable
  [ "USAGE" whsp AttributeUsage ]; default userApplications
                                   ; userApplications
                                   ; directoryOperation
                                   ; distributedOperation
                                   ; dSAOperation
  whsp ")"
slaptest: bad configuration file!

What should I do then?

Offline

#8 2006-09-07 14:48:43

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: Samba / LDAP / PAM / NSS - HowTo?

file a bug report towards the maintainer?


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB