[Samba] Linux - Samba Authentication

HTL Traun | Stumpfl Markus htl.traun.kustos at eduhi.at
Fri Jul 8 11:22:55 GMT 2005


Hi list,


since SuSe9.x it's possible to authenticate the linux-users not only via NIS
or LDAP, but also with a samba server.
The only thing left to do - besides enabling it in yast - is edit the
"smb.conf":

[global]
	workgroup = domain-name
	security = domain
	encrypt passwords = yes
	idmap uid = 10000-20000 
	idap gid = 10000-20000
	template shell = /bin/bash
	template homedir = /home/users/%u
	template primary group = "Domain Users"


So, with this setup, linux login is possible but:

1. the uid/gid is not the real one! Typically it would be 100,101,... not

   10000,10001,...
   Will this be a problem for the mounted samba-shares? Or do these numbers
   even correlate with each other? (linux <-> samba)?

2. the home-dir is not the right one (-> /home/users/user-name), it should 
   be something like /home/users/goupe-name/user-name

3. How should Linux automatically mount the users samba shares? Without it, 
   there is no KDE login, nor can the user access his files or the 
   files from his group.
   So how to enable/configure automount?


thx in advance for any help or pointers,

Markus



More information about the samba mailing list