createuser and samedit problems

Adam Read read_a at
Wed Nov 15 19:21:04 GMT 2000

Now it finds the server(added it to the hosts file), though it should have found
it via DNS, but I digress.  It seems to create the account, but not fully, and
then itsays it fails.  In NT server manager, it lists the account, but I cannot
view any properties on it due to incorrect password?  I have moved to try and
get this to work on Red Hat7(guiness), so amy comments are appreciated.  What
OS, etc are you running that you got it to work, and BTW, where did you get the

>>> chuckg at 11/14 1:29 PM >>>
Make sure you have updated the smb.conf file in /usr/local/samba/lib with your
domain name and name of the PDC for that domain.  Also be sure that your box
that Samba is installed on can reach the PDC defined in the config file via
or /etc/hosts.  Also you will need to create the directory
/usr/local/samba/private before you run the createuser command (where the
password database will exist).  Be sure to have the administrator id and
password for the domain you are joining then use the commands: "samedit -S
pdcname -W domainname -U adminuseridonpdc" then  "createuser linixboxname$ -j
domainname -L".  You should get a message to the effect "Welcome linixboxname$
to domain domainname".  Hope this helps (it did work for me in this way...)

Chuck Grieshaber
chuckg at at on 11/14/2000 11:33:13 AM

To: at 
cc:    (bcc: Chuck Grieshaber/Lex/Lexmark)
Subject:  createuser and samedit problems

I am installing the newest build of the appliance and trying to get the samba
box to authenticate to the PDC(NT box).  Everything seems to install OK, but
when I go to add the machine using createuser within samedit , i get:
could not locate server for domain MYDOMAIN

Does anyone have a man page or some documentation as to what the command line
options for createuser mean.  There is nothing I can find that helps.  I also
need to get winbindd working, but that depends on this.  Do I just use
to add it after adding it from server manager?

Many thanks from a desperate man,

More information about the samba-ntdom mailing list