Re: Anyone Familiar With Samba?
From: Karl Levinson [x y] MVP (jamescagney90210@excite.com)
Date: 10/27/02
- Next message: Karl Levinson [x y] MVP: "Re: IIS Banner Change?"
- Previous message: Karl Levinson [x y] MVP: "Re: HTTP 401.2 Error Message When Trying To LogIn"
- In reply to: David P. Donahue: "Anyone Familiar With Samba?"
- Next in thread: David P. Donahue: "Re: Anyone Familiar With Samba?"
- Reply: David P. Donahue: "Re: Anyone Familiar With Samba?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Karl Levinson [x y] MVP" <jamescagney90210@excite.com> Date: Sun, 27 Oct 2002 06:55:30 -0500
Your web scripts may not be running using the login ID you think they are.
If the application isolation settings on the folder containing the web
scripts in the IIS MMC are set to low, it is running as the
IUSR_computername account [unless you have changed it]. If this setting is
set to medium or high, the IWAM_computername account is the one being used.
The password for these accounts is stored both in the Windows user database
and also a copy of the password is cached in the IIS metabase [and both
passwords have to match]. You can get or change the current password for
either of these accounts using the ADSUTIL.VBS command with the SET or GET
option as described at
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q296851
"David P. Donahue" <ddonahue@ccs.neu.edu> wrote in message
news:ug#tqGSfCHA.1768@tkmsftngp11...
> Ok, I've been trying off and on for some time now to get IIS to
successfully
> use a Samba share from my Linux server as its web root. I keep running
into
> "Unauthorized Access" errors of one sort or another. My setup is
currently
> as follows:
>
> smb.conf file:
> [global]
> workgroup = CYBER0NE
> security = server
> netbios name = HARDAC
> server string = Samba 2.2.2
> interfaces = 192.168.0.3/24
> encrypt passwords = Yes
> passwd program = /usr/bin/passwd %u
> smb passwd file = /etc/smbpasswd
> passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r
> "*Password changed*"
> unix password sync = Yes
> syslog = 2
> log file = /var/log/samba/log.%m
> time server = Yes
> add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
%u
> logon script = %U.bat
> logon path = \\hardac\profile\%U
> domain logons = Yes
> os level = 34
> preferred master = Yes
> domain master = Yes
> lock directory = /var/lock/samba/locks
> admin users = root
> hosts allow = 192.168.0.
> hide dot files = No
> guest account = ftp
>
> [netlogon]
> comment = "Domain Logon Services"
> path = /etc/smblogon
> browseable = No
>
> [homes]
> comment = "Home Directory for : %u "
> path = /home/%u
> writeable = Yes
> create mask = 0644
> directory mask = 0755
> browseable = No
>
> [profile]
> comment = "User profiles"
> path = /etc/smbprofile
> writeable = Yes
> create mask = 0600
> directory mask = 0700
> browseable = No
>
> [web]
> comment = "Website"
> path = /home/www/public
> guest ok = yes
> read only = yes
>
>
> smbusers file:
> www = www IUSR_Cerebro
>
>
> As you can see, there is a real-only share for the website. Also, the
user
> currently logged into the console of the Windows box running IIS is "www"
> who's read/writable home directory share can also be used for the IIS root
> (although I would prefer the read-only share, just to sleep better at
> night). Also, these two shares are mapped as drives on the Windows box.
> And it's ok to leave the same user logged in to that box at all times,
> nobody else will be using it. IIS is set to use a network share as its
> root, and to connect as the "www" user. In Samba, I have also made
> IUSR_Cerebro an alias for www. And, in IIS, the Anonymous Access section
> under Directory Security has "www" set as the anonymous username, with me
> controlling the password, and has Integrated Windows Security checked.
>
> Now, from the localhost, with "www" logged in, the website comes up just
> fine. But from any other host it prompts a login. I'd like to be able to
> allow public access to the root folder and its child folders, and I will
set
> more security on child folders where necessary.
>
> Anyone encounter this before? Any ideas? I did find something on the
> Microsoft site:
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q256322&
> but its suggestions didn't do the trick.
>
>
>
> David P. Donahue
> ddonahue@ccs.neu.edu
>
>
>
>
- Next message: Karl Levinson [x y] MVP: "Re: IIS Banner Change?"
- Previous message: Karl Levinson [x y] MVP: "Re: HTTP 401.2 Error Message When Trying To LogIn"
- In reply to: David P. Donahue: "Anyone Familiar With Samba?"
- Next in thread: David P. Donahue: "Re: Anyone Familiar With Samba?"
- Reply: David P. Donahue: "Re: Anyone Familiar With Samba?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|