[Samba] Adding new users, changing admin pword, etc

Bruno Guerreiro bruno.guerreiro at ine.pt
Wed Sep 7 08:13:08 GMT 2005


>-----Original Message-----
>From: Joey Proulx [mailto:jproulx at sau21.k12.nh.us]
>Sent: terça-feira, 6 de Setembro de 2005 15:19
>To: samba at lists.samba.org
>Subject: [Samba] Adding new users, changing admin pword, etc
>I've just begun a new job and have inherited a Samba server 
>that I'm VERY 
>MUCH not familiar with.  Using the instructions I was left, I 
>am attempting 
>to add a new student:
>login as: root
>root at's password:
>Last login: Tue Sep  6 08:57:37 2005 from
>[root at localhost ~]# cd /opt/IDEALX/sbin
>[root at localhost sbin]# ./smbldap-useradd cbutts2011

You may use ./smbldap-useradd -a cbutts2011
That way the samba attributes will be automatically created

>[root at localhost sbin]# ./smbldap-passwd cbutts2011
>Changing password for cbutts2011
>New password :
>Retype new password :
>[root at localhost sbin]# smbpasswd cbutts2011
>New SMB password:
>Retype new SMB password:
>Failed to find entry for user cbutts2011.
>Failed to modify password entry for user cbutts2011

There is no need for use smbpasswd.
smbldap-passwd takes care of that, if the -a switch was used at user
creation time.

>After that, I go to a client (and I've tested it on several) but the 
>student cannot log on.  What could be the issue?
>Also, I rebooted the server last week...upon restart, I could 
>not log back 
>in using the root password the former employee left me.  Is there a 
>separate administrator password?  Is there any way to reset 
>that?  As of 
>right now I cannot gain access to the gui.

Where can't you log back? At the server console, or by GUI you mean
something like SWAT.
Are you sure the password is correct?
If not, you can always reset it by starting the server in sigle user mode,
and resetting the password.

Best Regards,
Bruno Guerreiro
>Thanks for all your help.
>Joey Proulx
>Technology Coordinator
>Seabrook Schools
>256 Walton Road
>Seabrook, NH 03874
>(603) 474-2252, ext 136
>jproulx at sau21.k12.nh.us
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list