LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-08-2009, 05:35 PM   #1
ServHot
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 06-09-2009, 12:38 PM   #2
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Can you please tell us what linux server you are using ?
 
Old 06-14-2009, 06:03 PM   #3
Willo9
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Anyone know anything about this?

I am using CentOS

Last edited by Willo9; 06-14-2009 at 06:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Beryl/Ati/XGL half working, half not! LDJ Ubuntu 4 04-23-2007 05:05 PM
Samba only works half as good as it should duhasst0 Linux - Newbie 5 01-15-2007 10:24 PM
Router/Firewall setup but samba not working! miner49er Linux - Networking 3 03-25-2006 09:29 AM
router only half working. exodist Linux - Networking 0 06-01-2004 04:34 PM
Half way there with SAMBA to WINDOWS Opentoe Linux - Networking 1 11-09-2001 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration