I have both a Windows 2000 server (a domain) and a new linux server running Redhat 7.3 with samba 3.0.4

I have each station connect to the windows domain (LITTLEJUPTER) which where the station name is WINSERVER1 . I have the samba server also with the netbios name LITTLEJUPTER. the server name is LITTLESATURN.

I want to setup the linux server to be also a logon server in addition to the Windows server. Is that possible?

With my best effort I created this one but I do note that it does not properly logon but does let me set it up as a workgroup type setup.


Thanks...



[global]

workgroup = LITTLEJUPITER
netbios name = CGSSAMBA
server string = Samba Server

hosts allow = 192.168.10. 127.

printcap name = /etc/printcap
load printers = yes
printing = lprng

log file = /var/log/samba/%m.log
max log size = 10

security = user

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8

smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*

pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE

local master = yes
domain master = yes
preferred master = no
os level = 34
domain logons = yes

logon script = %U.bat

logon path = \\%L\mnt\data\users\profiles\%U

wins server = 192.168.10.9
dns proxy = no

preserve case = yes

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
map to guest = bad user


[netlogon]
comment = Network Logon Service
path = /mnt/data/netlogon
writable = no
browseable = no
share modes = no


[Profiles]
path = /mnt/data/users/profiles
browseable = no
guest ok = no


[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

# Share of all user acccessible files

[COMPANY]
path = /mnt/data/COMPANY
public = yes
writeable = yes
printable = no
force create mode = 0770
directory mode = 0770
valid users = @admin, @staff
write list = @admin, @staff


[STATIONS]
path = /mnt/data/STATIONS
public = yes
writable = yes
printable = no
force create mode = 0770
directory mode = 0770
valid users = @admin, @staff
write list = @admin, @staff

[BUSINESS]
path = /mnt/data/BUSINESS
public = yes
writable = yes
printable = no
force create mode = 0770
valid users = @admin, @staff
write list = @admin, @staff

[DUMP]
path = /mnt/data/DUMP
public = yes
writable = yes
printable = no
force create mode = 0770
directory mode = 0770
valid users = @admin, @staff
write list = @admin, @staff

[APPS]
path= /mnt/data/APPS
public = yes
writable = yes
printable = no
force create mode = 0770
directory mode = 0770
valid users = @staff, @admin
write list = @staff, @admin

[LINUX]
path= /
public = yes
writable = no
printable = no