You are not logged in.
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
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
What do you mean by stuck on pam ???
I got a functionel LDAP/Samba running ??
Just getting better .... All the time
Offline
Thanks for helping. We finally got it to work. Missed a step in the IDEALX example setup.....
Offline
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
I think all have installed from the original pkg!
Just getting better .... All the time
Offline
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
file a bug report towards the maintainer?
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline