Bluehost.com Web Hosting $6.95

[Samba] netlogon problems

This is a discussion on [Samba] netlogon problems within the Samba forums, part of the Networking and Network Related category; Folks, I'm trying to achieve control over who logs into a share according to the group to which that ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-04-2005
Eric Hines
 
Posts: n/a
Default [Samba] netlogon problems

Folks,

I'm trying to achieve control over who logs into a share according to the
group to which that person belongs, but with no luck. I'm running SUSE Pro
9.3 and Samba 3.0.13, with a Win2k machine on one subnet and an XP laptop
on another subnet. In all cases, the user, instead of getting into his
share transparently, gets invited to log in, and then the login is
rejected. I've run the login.bat from the Windows machines, and that also
only gets access denied. Share valid users is set to %G (%U lets the user
in just fine, but that's inadequate security). Users get into their home
directories just fine.

My login.bat is
net time \\lserver0 /set /yes
net use \\lserver0\accounts
net use \\lserver0\finsvcs
net use x: /home
My [netlogon] share is
[netlogon]
comment = Network logon service
path = /data/%U
valid users = %S
read only = No

My [global] is
[global]
workgroup = ASTRA_ENT
username map = /etc/samba/smbusers
syslog = 0
name resolve order = wins bcast hosts
printcap name = CUPS
show add printer wizard = No
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/groupmod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d
/var/lib/nobody '%u'
logon script = scripts\login.bat
logon path =
logon drive = X:
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap ssl = no

I've placed the login.bat file in the share accounts (\data\accounts and
/data/financials in this case), and I've placed the login.bat file in each
user's home directory. Nothing has worked.

I've been through the TOSHARG2 with no luck, and Googleing hasn't brought
me anything I recognized, either. Any help would be greatly appreciated.

Eric Hines



There is no nonsense so errant that it cannot be made the creed of the vast
majority by adequate governmental action.
--Bertrand Russell
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0