You are not logged in.

#1 2006-05-08 06:37:02

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Samba konfiguration ????? Somethings wrong??

Hi Guys!
I playing/testing around with the combination of Windows / Linux and have set and Windows Active directory up. And found out that I could use an Gentoo tip about the connection to each ohter. And write it into the wiki as you can see here???
http://wiki.archlinux.org/index.php/Arc … ows_domain

But that one works great, but now I want some more. I want to mount the users homedir on Linux to the windows client documents.. (Just like LDAP and so on) But I have got it to work when te profiles are on another windows server, but when I change the path to Linux machine I get an Access denied? So my question is - how do I do that one now??

As you can see me changes in the wiki - But I think the problem is in the smb.conf? Have some that constilluation running and could give me a hint about it.

[Global]
	netbios name		= Atlantis
	workgroup		  = XXX
	realm			     = XXXX.XX
	server string		= Atlantis
	map to guest 		= Bad User
	idmap uid		= 10000-20000
	idmap gid		= 10000-20000
	winbind enum users	= yes
	winbind enum groups	= yes
	winbind gid		= 10000-20000
	winbind separator	=+
	os level		= 20

# Theres no shell defined for users in AD, so I define a default shell to use
# Not sure if its even possible to define a shell in AD
	template shell 		= /bin/bash

# Er sat til dette som default
;	encrypt passwords = yes

# I denne "mode", vil Samba opføre sig som et medlem af domæne i et AD's realm. For at operere i denne "mode"
# skal maskinen der kører Samba have Kerberus installeret og konfigureret (/etc/krb5.conf) og dermed vil Samba
# tvinges til at joine AD's realm ved hjælp af internettet.
	security		= user
	password server		= 192.168.2.5
	preferred master	= no
	dns proxy 		= no
	wins server		= 192.168.2.5
	wins proxy		= no

# Skulle ikke være nødvendig, da AD'et selv bestemmer hvem der er admins 
	admin users		= @"NET+domain admins"

# Sikrer at Samba kun lytter på Interfacet til brug af cluster-servicen
	interfaces 		= 192.168.2.0/255.255.255.0
	bind interfaces only 	= yes

	load printers		= no
	debug level		= 3
	use sendfile		= no

[homes]

create mask = 0600
directory mask = 0700
path = %H
read only = no
valid users = %S

[netlogon]

path = /home/netlogon
preexec = /home/netlogon/remstart.sh %U
postexec = /home/netlogon/remstart.sh %U

[profiles]

path = %H/profile
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
# next line is a great way to secure the profiles 
force user = %U 
# next line allows administrator to access all profiles 
valid users = %U "Domain Admins"#


# Find ud af om disse er nødvendige 
	force group 		= "NET+domain admins"
	inherit acls		= Yes
	map acl inherit		= Yes

# Tillader brugere i gruppe at ændre rettighederne
	acl group control	= yes

[data]	
	comment			= Data
#	valid users		= %S net+%S
	path			= /data
	read only		= no
	browseable		= yes

[Drift]
	comment			= Drifts data mm
#	valid users		= @"NET+domain admins"
	path			= /drift
	read only		= no
	browseable		= yes

[Back-up]
	comment			= Diverse Backup filer
	path			= /backup
	read only		= no
	browseable		= yes
#	valid users		= @"NET+Domain Admins"

Hopefully you can find the error some where [/code][/url]


Just getting better .... All the time

Offline

#2 2006-05-08 07:39:50

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Samba konfiguration ????? Somethings wrong??

First I do not have much understanding of the windows operating system, so it may be that I understood you wrong.
But if it is that you want smb mount some linux directory on windows as guest, you might want to add (if it is okay for security reasons of course wink)

public = yes
guest ok = yes

to each directory which is to be mounted that way.

Offline

#3 2006-05-08 10:18:08

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Samba konfiguration ????? Somethings wrong??

What I want is....

When a user log into my domain, the home/username should be mountet on the windows client as my documents. So no matter what client (windows) you log on to - its the same documents (instead of moving them constantly )


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB