SAMBA
smbpasswd -x foo (delete samba user)
smbpasswd -a foo (create samba user)
LINUX
useradd -M foo (create user with no home directory)
useradd -c “name” -M foo (create user with real name)
userdel -r foo (delete user’s files and home directory)
userdel foo (delete only user entry)
usermod -a -G group user (add an existent user to a group)
useradd -g group user [...]
I've set up an LDAP server, and configured Samba 4.0.3 to access it for user/group information. I went to issue the command smbpasswd -W to provide the password for Samba to access LDAP, however the program is not there! Apparently smbpasswd was deprecated? How do I provide Samba with LDAP access now, for when it needs to take administrative action?
Hi guys,
I have also here a Sol-10 with samba configured all is working out but just want to know if i set a password server pointing to a windows domain with Active Directory... do i still have to create a samba user on my Sol-10 or all username/pass authentication will be done on the windows domain?
Hi list,
I once had a server running samba 3.5.10. It was a member of a windows domain. And when a domain user connected to it, it would automatically create a samba user and a unix user.
Now I reinstalled a server using kubuntu 12.04, running samba 3.6.3.
I'm running samba on Ubuntu Server 10.04 LTS, I've some folders on samba share and created some user to access it, but suddenly some of the user are not able to access it for a certain time only.
For i.e:
There are 5 users as A,B,C,D,E and there are two folders in samba share name as "test" and "develop"
"test" doesn't have any user access password but "develop" has user access with password.
Hi everyone
I have a RHEL 5 linux box running SAMBA. I want to create a fileshare on linux machine to all other machines. My client machines are Windows XP and Vista.
I create an user account test on samba server using Webmin with default options. I didn't change anything. Just adding user name and password.
Fresh install of 12.04 on old Dell Dimension, then immediately upgraded to 12.10.
I'm trying to create a Samba share using the Samba gui application listed in Software Center. I've done this many, many times before with the GUI. However this time, the dialogue box is not allowing me to create a password.
I am programming a small webinterface to control samba on Debian (kernel 2.6.32-5-686). I started by writing simple scripts to add users, create folders, etc. They worked fine when run as root. However, when run via web (apache + php) by using php: shell_exec() some of them didn't work.
hi i am new to ubuntu server 12.04. i have been using desktop version. i installed server then installed desktop to get the gui.
installed updates and samba, now when i create a folder
and share via samba(i am using the samba gui) with appropriate user permissions, cannot browse the share from a windows pc.