[Samba] 3.5.9: logon scripts are not working under non root user
MarvinFS
marvinfs at gmail.com
Sat Aug 6 02:04:34 MDT 2011
Thanx for a prompt answer,
Actually it's working when i manually specify logon.bat as a logon script
for each user's properties through GUI "user manager".
but still if it's empty i thought samba have to use global config script but
it's not, it's OK when i have 10 users, but if i have 100 it's becoming
annoying.
[root at ancor-srv /usr/local/etc/samba]# pdbedit -Lv root
Unix username: root
NT username:
Account Flags: [UX ]
User SID: S-1-5-21-3492977515-3232339064-1064139939-1000
Primary Group SID: S-1-5-21-3492977515-3232339064-1064139939-513
Full Name: MarvinFS
Home Directory:
HomeDir Drive:
Logon Script: logon.bat
Profile Path:
Domain: ATLANTA
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: 0
Password last set: Wed, 03 Aug 2011 10:33:16 YEKST
Password can change: Wed, 03 Aug 2011 10:33:16 YEKST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
[root at ancor-srv /usr/local/etc/samba]# pdbedit -Lv test
Unix username: test
NT username:
Account Flags: [UX ]
User SID: S-1-5-21-3492977515-3232339064-1064139939-1005
Primary Group SID: S-1-5-21-3492977515-3232339064-1064139939-513
Full Name: мХЙХТНПНБ бКЮДХЛХП
Home Directory:
HomeDir Drive:
Logon Script:
Profile Path:
Domain: ATLANTA
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: never
Kickoff time: 0
Password last set: Thu, 04 Aug 2011 14:29:28 YEKST
Password can change: Thu, 04 Aug 2011 14:29:28 YEKST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
---
Best regards,
MarvinFS MARVIN THE PARANOID ANDROID (C) Douglas
Adams
On Sat, Aug 6, 2011 at 1:45 PM, TAKAHASHI Motonobu <monyo at monyo.com> wrote:
> From: MarvinFS <marvinfs at gmail.com>
> Date: Sat, 6 Aug 2011 12:03:32 +0600
>
> > I have issues running logon script on samba 3.5.9 (freebsd 8.2p1) under
> non
> > root user.
> > When i login to the XP box under root all is OK. logon script is working,
> > but it's totally not working under all other users.
>
> Show both "pdbedit -v root" and "pdbedit -v non-root", especialy
> "Logon Script:" line. "logon.bat" is set at both?
>
> ---
> TAKAHASHI Motonobu <monyo at samba.gr.jp>
>
More information about the samba
mailing list