Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Samba annoyance

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Samba annoyance

    I need help from a Samba guru. I have setup a Samba fileserver that authenticates users with a Windows 2003 Active Directory server. For the most part the authentication is working ok, but I have a problem that is bugging the hell out of me. Every time a new user authenticates it is suppose to make a directory for the user with user set to "USER" and group set to "Domain Users". My problem is that every time a user authenticates it gererates two with their username and one with the machine's name.

    Here is my smb.conf file:
    # Samba config file created using SWAT
    # from (
    # Date: 2005/06/30 11:06:51
    # Global parameters
    	workgroup = WORKGROUP
    	realm = REALM
    	server string = Dozer engineering file server
    	security = ADS
    	obey pam restrictions = Yes
    	password server = XXX.XXX.XXX.XXX
    	log file = /var/log/samba/%m.log
    	max log size = 50
    	unix extensions = No
    	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    	preferred master = No
    	local master = No
    	domain master = No
    	dns proxy = No
    	wins server = XXX.XXX.XXX.XXX
    	ldap ssl = no
    	idmap uid = 10000-20000
    	idmap gid = 10000-20000
    	template primary group = users
    	template homedir = /home/shares/bu_onen1/bu/users8/%u
    	template shell = /bin/bash
    	winbind separator = +
    	winbind cache time = 10
    	winbind enable local accounts = Yes
    	winbind use default domain = Yes
    	invalid users = root
    	hide special files = Yes
    	veto files = /.*/
    	hide files = /.*/
    	comment = Home directory for %U
    	valid users = %S, %D+%S
    	read only = No
    	browseable = No
    	comment = public dump
    	path = /home/shares/public
    	read only = No
    	guest ok = Yes
    	path = /home/shares/bu_onen1
    	read only = No
    	path = /home/shares/ptc

  2. #2
    sorry if this is an old topic but im just being helpful.

    Hambone ive use a script located at you have to cange some details but the script is documented by the author. Ive used it my self and it seems to work well

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts