Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-26-2010, 09:33 AM   #1
LQ Newbie
Registered: Aug 2010
Posts: 13

Rep: Reputation: 0
Arrow How to add users on Ldap+samba server

I have configured ldap on Debian5 and samba on another machine, all servers are running ok, but when i try to add users, it gives me an errror that "unknown user"
Old 09-27-2010, 01:47 AM   #2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,148
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
smbldap-useradd -a <username>
Old 09-27-2010, 01:56 AM   #3
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Also set password for your new added user using
smbpasswd -a username

Old 10-09-2010, 02:27 PM   #4
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
getent passwd

Last edited by raviteja_s; 10-09-2010 at 02:29 PM.
Old 10-09-2010, 02:28 PM   #5
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
samaba : smbpasswd -a username

after check it adding or not : pdbedit -L

x for del

d disabe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ldap: add users to groups 2handband Linux - Server 18 01-21-2010 08:49 AM
Vpopmail ldap to samba ldap users luquee Linux - Software 1 07-23-2008 12:38 PM
Samba Server w/ LDAP Users haydenyoung Linux - Server 0 09-25-2007 06:39 AM
Samba, LDAP, do I need smbpasswd to create users? yuri_d Linux - Server 2 07-25-2007 08:46 AM
cant add win2000 server to samba ldap domain procfs General 3 08-14-2006 02:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration