LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-26-2010, 08:33 AM   #1
dezio
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, 12:47 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,143
Blog Entries: 4

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

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

Thanks
 
Old 10-09-2010, 01:27 PM   #4
raviteja_s
Member
 
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
getent passwd

Last edited by raviteja_s; 10-09-2010 at 01:29 PM.
 
Old 10-09-2010, 01:28 PM   #5
raviteja_s
Member
 
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
 
  


Reply


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 07:49 AM
Vpopmail ldap to samba ldap users luquee Linux - Software 1 07-23-2008 11:38 AM
Samba Server w/ LDAP Users haydenyoung Linux - Server 0 09-25-2007 05:39 AM
Samba, LDAP, do I need smbpasswd to create users? yuri_d Linux - Server 2 07-25-2007 07:46 AM
cant add win2000 server to samba ldap domain procfs General 3 08-14-2006 01:16 AM


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

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