LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba setup and half working. (https://www.linuxquestions.org/questions/linux-server-73/samba-setup-and-half-working-731503/)

ServHot 06-08-2009 04:35 PM

Samba setup and half working.
 
Summary
Printers are OK
Shared directory is OK
Private "home" directories are OK
Netlogin are not working

Details
Samba is running and I can open the network shared folder, the private "home" directories by logging in with the samba usernames. However, the netlogon doesn't seem to work.

I am not sure if this is a problem with samba or windows. In Vista Business I tried connecting but windows returned an error saying the user was not found.

Can someone please advise?


Code:

[global]
log level = 2
workgroup = WORKGROUP
netbios name = SERV
passdb backend = tdbsam
security = user
hosts allow = 192.168.1. 127.0.0.1
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = \
 /usr/sbin/useradd -s /bin/false -d /dev/null \
 -g machines %u
# The following specifies the default logon script
# Per user logon scripts can be specified in the user
# account using pdbedit
logon script = logon.bat
# This sets the default profile path.
# Set per user paths with pdbedit
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
writable = Yes

[netlogon]
comment = Network Logon Service
path = /home/netlogon
admin users = andy.h me
guest ok = No
browseable = No
writable = No

# For profiles to work, create a user directory under the
# path shown. mkdir -p /var/lib/samba/profiles/john
[Profiles]
comment = Roaming Profile Share
path = /home/samba/profiles
read only = No
browseable = No
guest ok = Yes
profile acls = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = Yes
available = Yes


rahilmaknojia 06-09-2009 11:38 AM

Can you please tell us what linux server you are using ?

Willo9 06-14-2009 05:03 PM

Anyone know anything about this?

I am using CentOS


All times are GMT -5. The time now is 08:10 PM.