Hey laz;
It wud b better for you to get a know how abt the way these security modes work..
From :
http://amitsharma.linuxbloggers.com/how_to_samba.htm
----------------------
1. security = share
Samba associate a password with each share.
User sends a share request & its own password but it does not explicitly sends its username for this request. In return samba now figures out about the user from its password it has got & then turn that share/pass into user/pass combination & grant the share access to that particular user.
Client ~~> (share/pass) ~~> Samba
Samba ~~> (figure out the user from the pass) ~~> (grants access of share) ~~> Client
2. **security = user
Samba mount shares with requested username / passoword combination.
Client ~~> (protocol negotiation) ~~> (session request (+ username/password + machine name)) ~~> Samba
Samba ~~> (authenticate user/pass) ~~> (grant access to mount shares) ~~> Client
* also valid for samba to act as a domain controller.
** Default security level for smb.conf, even if security=user is not mentioned in smb.conf.
------------------------
You can go thru the link, as i've mentioned a step by step implemenatation of Samba as PDC over dere.
You can ask me in b/w for any query or clarification.