[Samba] Preserving XP look and feel while on DOMAIN

2005-10-18 Thread E. Dandrades
Greetings guys,

I have samba on a domain with the configuration listed above. I've created a 
Default profile under the netlogon root and chmod'ed it 755. I'm trying to 
maintain XP's look when you log in because at this point, when I input my 
username and password and logon to the domain it goes back to the classic win2k 
skin. Any ideas would be welcome.

Thanks


[global]
workgroup = INSOMNIAC
netbios name = SERVER
server string = insomniac
interfaces = interfaces, =, 10.0.0.1/8
passdb backend = tdbsam
passwd program = /usr/bin/passwd -l %u
username map = /usr/local/etc/samba/smbusers
unix password sync = Yes
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
printcap name = cups
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 /var/lib/nobody 
'%u'
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = Z:
logon home = \\%L\%U
domain logons = Yes
os level = 34
preferred master = Yes
domain master = Yes
wins support = Yes
remote announce = 10.0.0.255
admin users = root, eddie
create mask = 0644
hosts allow = 10.0.0., localhost
hide unreadable = Yes

[profiles]
path = /storage/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
case sensitive = No
preserve case = No
short preserve case = No
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
browseable = No

[netlogon]
path = /storage/samba/netlogon
browseable = No

[homes]
comment = Home Directories
read only = No
create mask = 0600
browseable = No

[BackUP]
comment = BackUp Share
path = /storage/backup
write list = @members

[storage]
comment = Network Share
path = /storage/share
write list = @members
read only = No
create mask = 0664
directory mask = 0775
inherit permissions = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[print$]
comment = Printer Driver Download Area
path = /usr/local/share/cups/drivers
write list = root
guest ok = Yes
browseable = No
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] desktop file keeps coming up during logon

2005-10-18 Thread E. Dandrades

hide files = /desktop.ini/ntuser.ini/NTUSER.*/

Is what I have in smb.conf and still nothing. Anyway, with Gary's advise I've 
resolved the issue.

Thanks guys

On Tue, 18 Oct 2005 08:34:05 +0200
Thomas Bork <[EMAIL PROTECTED]> wrote:

> Gary Dale wrote:
> 
> >> Alright so I have samba running as a PDC and have roaming profiles, 
> >> however when I Logon it does everything successfully but then it shows 
> >> a "desktop" file in notepad with some info on it. Has anyone seen this 
> >> before?
> > The desktop.ini file is normally in the startup group for each user. It
> > is a hidden file. I don't know why it sometimes pops up on the desktop,
> > but I've seen it happen often. I'm using Samba 3.0.14a-Debian. If you're
> > running the same, it may peculiar to that version. Otherwise, I can
> > confirm that it does happen.
> 
> This is a FAQ, answered very often here (see 
> http://marc.theaimsgroup.com/?l=samba&r=1&w=2)
> 
> Add in [global]:
> hide files = /desktop.ini/
> 
> 
> der tom
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] desktop file keeps coming up during logon

2005-10-17 Thread E. Dandrades


Alright so I have samba running as a PDC and have roaming profiles, however 
when I Logon it does everything successfully but then it shows a "desktop" file 
in notepad with some info on it. Has anyone seen this before?


thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] failed session setup with NT_STATUS_LOGON_FAILURE

2005-10-16 Thread E. Dandrades

Greetings, Do you guys know what normally causes this? - Google has a lot of 
instances of the issue but no resolutions. I'm running FBSD 5.4 with the latest 
samba.

Here's the command and the associated error:

insomniac# cupsaddsmb -U root -a -v
Password for root required to access 10.0.0.1 via SAMBA: 
Running command: rpcclient 10.0.0.1 -N -U'root%password' -c 'setdriver 
HPPRINTER HPPRINTER'
Connecting to host=10.0.0.1
Connecting to 10.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
SPNEGO login failed: Logon failure
failed session setup with NT_STATUS_LOGON_FAILURE
Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE

Password for root required to access 10.0.0.1 via SAMBA: 

insomniac#

Any help would be appreciated.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] failed session setup with NT_STATUS_LOGON_FAILURE

2005-10-16 Thread E. Dandrades

Greetings, Do you guys know what normally causes this? - Google has a lot of 
instances of the issue but no resolutions. I'm running FBSD 5.4 with the latest 
samba.

Here's the command and the associated error:

insomniac# cupsaddsmb -U root -a -v
Password for root required to access 10.0.0.1 via SAMBA: 
Running command: rpcclient 10.0.0.1 -N -U'root%password' -c 'setdriver 
HPPRINTER HPPRINTER'
Connecting to host=10.0.0.1
Connecting to 10.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x60890215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
SPNEGO login failed: Logon failure
failed session setup with NT_STATUS_LOGON_FAILURE
Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE

Password for root required to access 10.0.0.1 via SAMBA: 

insomniac#

Any help would be appreciated.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mount_smbfs: unable to open connection: syserr = No such file or directory

2005-10-14 Thread E. Dandrades

The share is called [public], although after I posted I changed it to [share]. 
I'll change it to /mnt/share and see if it works, although on one of the other 
nix machines its /mnt/share and it still gives me the same error.

On Fri, 14 Oct 2005 10:29:54 -0300
Felipe Augusto van de Wiel <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> E. Dandrades escreveu:
> > Alright, so Here is the relevant info:
> > FreeBSD insomniac.normal1.net 5.4-STABLE FreeBSD 5.4-STABLE 
> > #2: Sun Sep 25 14:30:27 PDT 2005
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSOMNIAC  i386
> 
> > insomniac# pkg_info | grep samba
> > samba-3.0.20,1  A free SMB and CIFS client and server for UNIX
> > insomniac#
> 
> > Alright, So I have four samba clients (2 'nix, 1 mac and 1 windows). 
> > The windows machine I was able to get going rather easily (amazing,
> > cause I've had hell with it in the past). Anywhom, I've tried to
> > get the two nix machines connected to the samba server and I get
> > the following error message:
> 
> > strange# mount_smbfs -I 10.0.0.1 //[EMAIL PROTECTED]/share /share ; pwd
> > Password:
> > mount_smbfs: unable to open connection: syserr = No such file or directory
> > /share
> > strange# 
> 
>   You should be outside the "/share", shouldn't you?
>   
> 
> > Here's the smb.conf:
> [...]
> 
>   And looking at the smb.conf I didn't saw the a share called "share".
>   :-)
> 
> > ===
> > I know a lot of these options are deprecated, but really all I wanna do is 
> > find out what in the world is causing that error message.. well for now
> > cause my printer isnt shared on windows, but thats another post
> > ===
> 
>   Hope it helps, kind regards.
> 
> - --
> //
> // Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
> // CTI/Suporte - SEDU/PARANACIDADE
> // http://www.paranacidade.org.br/
> //
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
> 
> iD8DBQFDT7LSCj65ZxU4gPQRAjR3AKCkR6MqNIsLEtq2SXSBJXYuxQMDIQCdF+3H
> rv2lbkQEeBpwCxZYsmM6e88=
> =JQbg
> -END PGP SIGNATURE-
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] result was WERR_ACCESS_DENIED

2005-10-14 Thread E. Dandrades
Anyone know what this means and how to fix it?

Thanks.

Running command: rpcclient 10.0.0.1 -N -U'root%password' -c 'setdriver 
HPPRINTER HPPRINTER'
Connecting to host=10.0.0.1
Connecting to 10.0.0.1 at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a0215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
lsa_io_sec_qos: length c does not match size 8
SetPrinter call failed!
result was WERR_ACCESS_DENIED

Password for root required to access 10.0.0.1 via SAMBA: 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] mount_smbfs: unable to open connection: syserr = No such file or directory

2005-10-13 Thread E. Dandrades
Alright, so Here is the relevant info:

FreeBSD insomniac.normal1.net 5.4-STABLE FreeBSD 5.4-STABLE #2: Sun Sep 25 
14:30:27 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSOMNIAC  i386

insomniac# pkg_info | grep samba
samba-3.0.20,1  A free SMB and CIFS client and server for UNIX
insomniac#

Alright, So I have four samba clients (2 'nix, 1 mac and 1 windows). The 
windows machine I was able to get going rather easily (amazing, cause I've had 
hell with it in the past). Anywhom, I've tried to get the two nix machines 
connected to the samba server and I get the following error message:

strange# mount_smbfs -I 10.0.0.1 //[EMAIL PROTECTED]/share /share ; pwd
Password:
mount_smbfs: unable to open connection: syserr = No such file or directory
/share
strange# 

Here's the smb.conf:
[global]
; Uncomment this if you want a guest account
; guest account = nobody
   log file = /var/log/smb/samba-log.%m
   lock directory = /var/lock/samba
   share modes = yes
   interfaces = 10.0.0.1/8
   workgroup = DANDRADESGROUP
   NetBios Name = ANDTHEN
   server string = File Serving on %s since 1999
   security = user 
   load printers = yes
   printing = cups
   printcap name = cups

[printers]
 comment = All Printers
 path = /var/spool/samba
 browseable = no
 public = yes
 guest ok = yes
 writable = no
 printable = yes[print$]
 comment = Printer Drivers
 path = /etc/samba/drivers
 browseable = yes
 guest ok = yes 
 read only = yes

[public]
comment = Public Storage
path = /storage/share
public = yes
writable = yes
printable = no
guest ok = no 
write list = @members
inherit permissions = yes
create mask = 0664
directory mask = 0775  
 
; If samba is case sensitive when looking for files
case sensitive = no

; Default case of files that are createddefault case = lower

; Preserve case for all filenames
preserve case = yes

; Preserve case for dos (8.3) filenames
short preserve case = no

===
I know a lot of these options are deprecated, but really all I wanna do is find 
out what in the world is causing that error message.. well for now cause my 
printer isnt shared on windows, but thats another post
===

Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba