View previous topic :: View next topic |
Author |
Message |
jl_678 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Dec 2003 Posts: 56
|
Posted: Tue Aug 29, 2006 12:09 am Post subject: Samba problem access problem from windows -- multiple config |
|
|
Okay,
I have an environment with two separate Gentoo linux installations with two separate samba installs. I am tring to access the two servers from two different windows XP machines. The first is my home machine is not affiliated with any other network and just runs locally. The second is my work machine which is affiliated with my work DNS and is connected to my home LAN via wireless.
Gentoo server #1 is running samba version 3.0.10 which is older. Here is the output of testpar on this machine:
Code: |
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = Samba Server %v
smb passwd file = /etc/samba/private/smbpasswd
guest account = xxxx
log level = 10
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
hosts allow = 192.168.0., 127.
[homes]
comment = Home Directories
read only = No
browseable = No
[public]
path = /home/smbshare
read only = No
guest only = Yes
guest ok = Yes |
Both machines can easily connect to this server without a problem.
The second server is brand new and is running the newest version of Samba 3.0.22-r3. Here is this server's testparm output:
Code: |
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[public]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = Samba Server %v
guest account = xxxx
log level = 10
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
hosts allow = 192.168.0., 127.
[homes]
comment = Home Directories
read only = No
browseable = No
[public]
path = /home/smbshare
read only = No
guest only = Yes
guest ok = Yes
|
The odd thing is that I can connect perfectly to this new server with my unaffiliated desktop machine, but m work machine cannot. It always gets permission denied. Note that the smb.conf's are the same and yet for whatever reason the work unit can only connect to the first one. Does anyone have any ideas abut this behavior? Is it a bug in a newer version of samba?
TIA for any feedback.
JL |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
celestialwizard Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/BaldursGate/baldursgate_edwin.gif)
Joined: 15 Jun 2006 Posts: 81 Location: Brisbane, Australia
|
Posted: Tue Aug 29, 2006 4:20 am Post subject: |
|
|
there are a number of possible reasons.
it could be that a group policy or local policy is in effect on your domain based windows xp install which restricts which domains are allowed to be contacted (through trusts).
are you trying to connect with the same credentials? do you have the same user mapping on both samba systems? is the corporate xp install in the correct subnet? _________________ I may be a hardware bigot, but my stuff works |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|