Computing.Net > Forums > Linux > Samba user accounts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Samba user accounts

Reply to Message Icon

Name: Johnnygg
Date: November 4, 2005 at 09:49:07 Pacific
OS: Linux
CPU/Ram: 1000
Comment:

I created a new user by

useradd leah
passwd leah
smbpasswd -a leah

I checked the home dir, leah didn't exist. Does leah not have access to the netlogon file? I don't want leah to be in the @admins.

Any help would be great. thanks

The following groups were setup
group -g 200 admins
group -g 201 machines


# Samba config file created using SWAT
# from 192.168.1.101 (192.168.1.101)
# Date: 2005/11/04 14:38:10

# Global parameters
[global]
workgroup = Monkey
netbios name = CFS
server string = Server
encrypt passwords = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
unix password sync = Yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins bcast lmhosts hosts
time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
domain admin group = users1 @admins
logon script = netlogon.bat
logon path = \\%L\%U\profile
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
admin users = john
create mask = 0774
directory mask = 0774
hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0

[homes]
comment = Home Directories
read only = No
browseable = No

[profiles]
path = /home/samba/profiles
read only = No
only user = Yes
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = @admins
browseable = No

[shared]
path = /home/share
read only = No



Sponsored Link
Ads by Google

Response Number 1
Name: balu_2020
Date: November 10, 2005 at 05:13:44 Pacific
Reply:

Hi,

I think ur using Debian linux.
Use adduser command or
useradd -d /home/<user> -s /bin/bash -m <user>

It's simple.

Regards,
Balakrishna


0

Response Number 2
Name: GordonBe
Date: November 30, 2005 at 12:43:35 Pacific
Reply:

Or you need to enable an smb user.
smbpasswd -e user


rape movies
Mr.Gordon BE


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Samba user accounts

How do you remove Samba user accounts? www.computing.net/answers/linux/how-do-you-remove-samba-user-accounts/7451.html

user manager/samba www.computing.net/answers/linux/user-managersamba/16982.html

Restoring user accounts www.computing.net/answers/linux/restoring-user-accounts/24317.html