Error when adding user to Samba


Results 1 to 3 of 3

Thread: Error when adding user to Samba

  1. #1
    Join Date
    May 2006
    Posts
    5

    Error when adding user to Samba

    try to add a user to samba, I get the following error:

    Code:
     ldapsam_search_one_group: Problem during the LDAP
     search: LDAP error:
     invalid DN (Invalid DN syntax)
     ldapsam_modify_entry: Failed to add user dn=
     uid=robyn,o=easilix,"o=easilix" with: Invalid DN
     syntax
             invalid DN
     ldapsam_add_sam_account: failed to modify/add user
     with uid = robyn (dn =
     uid=robyn,o=easilix,"o=easilix")
     Failed to add entry for user robyn.
     Failed to modify password entry for user robyn
    smb.conf.txt
    Code:
    #Generated by EasiLiX Advaced Server Managemanet. Please do not edit.
    
    [global]
    	idmap uid = 16777216-33554431
    	ldap group suffix = ou=groups,o=easilix
    	hosts allow = 192.168.0.
    	ldap delete dn = no
    	load printers = no
    	domain logons = no
    	ldap server = 127.0.0.1
    	ldap port = 1389
    	logon script = all.bat
    	printcap name = /etc/printcap
    	idmap gid = 16777216-33554431
    	ldap filter = "(&(enableSMB=1)(uid=%u))"
    	passdb backend = ldapsam:ldap://localhost:1389
    	workgroup = MSHOME
    	encrypt passwords = yes
    	interfaces = 192.168.0.4
    	ldap user suffix = o=easilix
    	ldap admin dn = "cn=administrator,o=easilix"
    	ldap passwd sync = yes
    	ldap ssl = off
    	log file = /var/log/samba/%m.log
    	dns proxy = no
    	server string = EasiLiX SMB Server
    	template shell = /bin/false
    	ldap suffix = "o=easilix"
    	security = user
    	domain master = no
    	logon home = \%Lhomeprofile
    
    [Downloads]
    	comment = Software Downloads
    	browseable = yes
    	read list = 
    	write list = @mshome
    	writeable = yes
    	create mode = 0774
    	vfs object = vscan-clamav
      	vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
    	path = /home/samba/public/downloads
    	directory mode = 0755
    	public = yes
    
    [home]
    	comment = Home Directories
    	browseable = yes
    	veto files = Maildir/
    	write list = %U
    	writable = yes
    	path = %H
    
    [netlogon]
    	comment = Network Logon Service
    	guest ok = yes
    	writable = no
    	share modes = no
    	path = /home/samba/netlogon
    
    [printers]
    	comment = All Printers
    	browseable = no
    	printable = yes
    	guest ok = no
    	writable = no
    	path = /var/spool/samba
    winbindd.log
    Code:
    [2006/04/09 09:52:24, 1] nsswitch/winbindd_util.c:init_domain_list(313)
      Could not fetch sid for our domain MSHOME

  2. #2
    Join Date
    Mar 2002
    Location
    Wyoming, Ontario, Canada
    Posts
    274
    I did a Google search and a whole lot of results came up.....one of them was this link:

    http://www.novell.com/coolsolutions/...errors_gw.html

    15:10:19 48A LDAP Error: 34
    15:10:19 48A LDAP Error: Invalid DN syntax
    15:10:19 48A Error: LDAP failure detected [D06B] User:User1

    Error 34 Cause/Fix: This error occurs when you use the LDAP User Name Option and the User Name has been entered with an invalid Syntax. Correct Name Syntax (refer to the POA startup file) is: ·cn=userid,ou=group,ou=division,o=organization" Refer to Solution NOVL67878 for more details on this specific error.
    Linux? What's that?

  3. #3
    Join Date
    May 2006
    Posts
    5
    I read this, but I don't really understand it. I assume from reading the above that smbpasswd is calling another command in the background and some config file is not set up properly. What would this file be?

Posting Permissions

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