The only other idea I can think of is to create a user account on the samba box with the exact same name / password as the user on the windows box.  Then use smbpasswd -a to grant them access to smb. 
 
Sure there is a better way, but I can not think of one at the moment.
----- Original Message -----
Sent: Friday, June 11, 2004 11:50 AM
Subject: RE: [ActiveDir] OT: Samba guest access?

yep, it has "guest ok = 1".   this was put in by the Workgroup Manager, not by hand.
 
mine looks like this... i added relevant pieces of the [global] section, just in case the problem would be there instead.
 
[global]
    security = ADS
    guest account = unknown
    auth methods = guest opendirectory
    use spnego = yes
    map to guest = Bad User
    allow trusted domains = no
    preferred master = no
    client ntlmv2 auth = no
    domain logons = no
    domain master = yes
 
and for the file share:
 
[AppStorage]
    oplocks = 0
    map archive = no
    path = /Volumes/[...]
    read >
    inherit permissions = 1
    strict locking = 1
    create mask = 0644
    guest ok = 1
    directory mask = 0755
 
thanks for the help!
Kirk

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Freeman
Sent: Friday, June 11, 2004 9:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [ActiveDir] OT: Samba guest access?

Do you have guest ok = yes in your smb.conf file for that share?
 
[share]
   available = yes
   browseable = yes
   comment = install files
   create mask = 777
   guest ok = yes
   path = /share/
   read >
 
Rob

----- Original Message -----
Sent: Friday, June 11, 2004 11:30 AM
Subject: [ActiveDir] OT: Samba guest access?

(Sorry for the OT post, i just don't know anywhere else to find people that might know the answer to this.  Thanks!)
 
I've attached an Apple XServe to our Windows domain, and have successfully setup all the Active Directory integration.
 
I've been able to expose a file share to Windows via Samba from the XServe, but it's still requring a guest account login.
 
For example, when i try and open \\xserve\Storage from Windows, it shows a username/pwd dialog.  If i type in 'guest', it lets me in.
 
Problem is, i want to use a file share from a .NET app, and can't do authentication on the UNC path.  I know the account info gets cached, but this all has to happen automagically w/o user input.
 
Anybody know if there's a way to not require that authentication popup, and just default to 'guest' access?  Is it a Samba issue or a Windows issue?
 
Thanks for any help/pointers!
Kirk
 
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Kirk Marple
CTO/VP of Engineering
Agnostic Media, Inc.
e: [EMAIL PROTECTED]
w: www.agnostic-media.com

Reply via email to