[Samba] SAMBA3 -> LDAP

Manfred Odenstein manfred.odenstein at chello.at
Fri Feb 27 13:31:41 GMT 2004


On the second server, check with "getent group" if the group normal is
present on the second server, if no, then check your /etc/nsswitch.conf

regards odi 
Am Fr, den 27.02.2004 schrieb Stefan Bergner um 14:
08:
> Hello!
> 
> I have this Configuration:
> 
> 1st Server (incl. openldap). On this server, i hold my User and 
> Group-Management with smbldap-Tools.
> It work's great, the user's, group's and machine-account's stored
> in my ldap-db.
> 
> This Server is not a PDC!!
> 
> Now i want to setup a 2nd Server.
> 
> I want to connect this Samba-Server with the ldap-db of the 1st Server.
> Now, the good news: The User works.
> 
> With smbpasswd from 2nd Server i could change the Password of the users in 
> my ldap-db on the 1st Server.
> 
> But the group-setting  (no unix-group, only a ldap-group) doesn't work.
> 
> In my ldap-db (1st Server)
> is one user -> smbuser
> and one group -> normal
> 
> On my 1st Server it works for a share with 
> valid users = @normal
> 
> On my 2nd Server there is also a share with 
> valid users = @normal
> 
> I now want to connect me to the share of the 2nd Server. The Errormessage 
> is :
> 
> tree connect failed: NT_STATUS_ACCESS_DENIED
> 
> If i change the "valid users"-Parameter to
> 
> valid users = smbuser
> 
> everything is fine.
> 
> Any hint? 
> 
> Greetings/thanx
> 
> Stefan



More information about the samba mailing list