[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] Adgang til Samba



Tirsdag 17 maj 2005 23:19 skrev Kristian Vilmann:
> Mads H H Madsen wrote:
> > Tirsdag 17 maj 2005 20:58 skrev Gert Lavsen:
> >>Mads H H Madsen wrote:
> >>>>Det er fordi samba bruger andre passwords end resten af systemet!
> >>>>Kig lidt på smbpasswd
> >>>
> >>>Fint, her kunne jeg tilføje nyt password, men hvad med bruger navne ?
> >>
> >>Tilføje bruger:
> >>smbpasswd -a brugernavn
> >>Slette bruger:
> >>smbpasswd -x brugernavn
> >>Gøre brugerkonto inaktiv/låse brugerkonto:
> >>smbpasswd -d brugernavn
> >>Gøre brugerkonto aktiv/låse brugerkonto op
> >>smbpasswd -e brugernavn
> >>
> >>For flere muligheder:
> >>smbpasswd --help
> >>man smbpasswd
> >>man samba
> >
> > Fint nok, det er da til at finde ud af i en terminal, når jeg tilføjer ny
> > bruger + password.
> > Der står bruger tilføjet, bruger aktiv. men men jeg kan stadigvæk ikke få
> > lov til at logge ind ?
> > som om bruger og password ikke eksisterer ?
>
> Så skal vi nok lige se din smb.conf
> (bare de linier der er aktive)
>
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-04-04
[global]
	workgroup = Hjemme
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	printer admin = @ntadmin, root, administrator
	username map = /etc/samba/smbusers
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	idmap gid = 10000-20000
	idmap uid = 10000-20000
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody 
-s /bin/false %m$
	domain logons = Yes
	domain master = Yes
	local master = Yes
	os level = 65
	passdb backend = smbpasswd:olivia
	preferred master = Yes
	security = user

[homes]
	comment = Home Directories
	valid users = %S
	browseable = No
	read only = No
	inherit acls = Yes

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700

[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/

[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes

[printers]
	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	write list = root

> sslug-novice: Listen for begynder-relaterede spørgsmål

-- 
VH. mads


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:21 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *