[Samba] Mount logon Home dir on Linux (CTM)

2005-07-12 Thread Cristian Thiago Moecke

I will try to explian it better this time.

	I have a Windows NT 4.0 Server, that is the PDC on my network. I also 
have a FC3 Samba 3 server that is the file server, where most of logon 
home dirs are stored. In the NT PDC i set up most users to map Z: drive 
to \\MY_SAMBA_SERVER\username
	In the Win XP workstations everithing is wrking realy fine. Now i want 
to set up some Linux Fedora Core 4 Workstations too. I already installed 
the FC4, samba and winbind, everithing working fine too. I can log in in 
linux using my NT password.
	Just what I need now is to mount the logon home dir to the users who 
log in in the linux workstation. I didnt found out reading the docs and 
looking in the internet how can I do it (and IF I can). I can run a 
logon script that mounts \\MY_SAMBA_SERVER\username using smbmount, but 
that has 2 problems: firist, it will ask the password, but how i can 
make the script know the password? And the second problem: some users 
dont have the logon home dir in the MY_SAMBA_SERVER.
	So I think probably there is a better way to do it, maybe using pam.d, 
i dont know. Anyone could help me on that?


   Thanks for any help,
Cristian T. Moecke
LMP-UFSC

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mount logon Home dir on Linux (CTM)

2005-07-12 Thread Cristian Thiago Moecke
Hmmm... Ok... I will be happy to if I can make a script that mounts 
\\MY_SAMBA_SERVER\username siwthout asking the user for the password 
(so, how can I tell the script to use the same password and username of 
the current user?)... Well, for the users that dont have the home dir in 
\\MY_SAMBA_SERVER i will just say sorry :D


Cristian

I suppose you will have to add some scripting to manage the Linux 
clients. A script could ask the NT PDC about the user's home, and then 
mount it directly through nfs.


So the question for this list would be: how can I query a Windows NT 
PDC (no ldap) about a user's home directory. That script may need to 
have an administrator password to be able to query the PDC.





--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mount logon Home dir on Linux (CTM)

2005-07-12 Thread Cristian Thiago Moecke
I was thinking... if nothing else woks, I will just create a default kde 
desktop shortcut pointing to smb:\\MY_SAMBA_SERVER\username... That i 
think I can do, should be easy! :)
Is there a way to at least make Konqueror stop asking the user and 
password and use the same user and password that was used to log in???


Cristian

If you figure this one out, please let me know. I've been trying to do 
this for at least a year now with no luck.


-Ian

Cristian Thiago Moecke wrote:

Hmmm... Ok... I will be happy to if I can make a script that mounts 
\\MY_SAMBA_SERVER\username siwthout asking the user for the password 
(so, how can I tell the script to use the same password and username 
of the current user?)... Well, for the users that dont have the home 
dir in \\MY_SAMBA_SERVER i will just say sorry :D


Cristian

I suppose you will have to add some scripting to manage the Linux 
clients. A script could ask the NT PDC about the user's home, and 
then mount it directly through nfs.


So the question for this list would be: how can I query a Windows NT 
PDC (no ldap) about a user's home directory. That script may need to 
have an administrator password to be able to query the PDC.









--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Map remote folder on Linux Samba client in NT Domain (CTM)

2005-07-11 Thread Cristian Thiago Moecke
   Scenario: I have a Windows NT 4.0 PDC, a Linux Samba 3.0.0 file 
server, and a lot of XP wirkstations (planing to change the PDC any day 
to a Samba PDC, but i will need to study more before that...)
   In the NT PDC I have set the Z: drive of all users to a personal 
folder in some computer (User manager, connect Z: to \\computer), mainly 
to the Linux file server. It works REALY fine, Samba working realy great 
in the File server!
   Now I am setting up some Linux clients! I want to put Linux and 
Windows (dual boot) in the workstations thar already have Win XP. I 
installed Fedora Core 4, seted up the samba, winbind, users can login 
using their NT user and password, all working realy fine! But I didnt 
found out how to map the PDC Z: drive to some folder, like 
/home/username/private_folder. Is there a way to do that?
   I already configured Lisa to find other computers on the net, and it 
works, but it always asks the user and password again in konqueror! Is 
there a way to stop that?


   Thanks for any help,
Cristian T. Moecke
LMP-UFSC
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Map remote folder on Linux Samba client in NT Domain (CTM)

2005-07-11 Thread Cristian Thiago Moecke
That I know! But I need to map the folder to the computer defined in the 
PDC, in the profile of the user. That i dont know how to do (if it is 
possible)!



Cristian Thiago Moecke wrote:

   Scenario: I have a Windows NT 4.0 PDC, a Linux Samba 3.0.0 file 
server, and a lot of XP wirkstations (planing to change the PDC any 
day to a Samba PDC, but i will need to study more before that...)
   In the NT PDC I have set the Z: drive of all users to a personal 
folder in some computer (User manager, connect Z: to \\computer), 
mainly to the Linux file server. It works REALY fine, Samba working 
realy great in the File server!
   Now I am setting up some Linux clients! I want to put Linux and 
Windows (dual boot) in the workstations thar already have Win XP. I 
installed Fedora Core 4, seted up the samba, winbind, users can login 
using their NT user and password, all working realy fine! But I didnt 
found out how to map the PDC Z: drive to some folder, like 
/home/username/private_folder. Is there a way to do that?
   I already configured Lisa to find other computers on the net, and 
it works, but it always asks the user and password again in 
konqueror! Is there a way to stop that?


   Thanks for any help,
Cristian T. Moecke
LMP-UFSC



Hi,
you can use the smbmount  or mount -t nfs ...

Regards
Michael




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Problems with unicode filenames

2005-04-26 Thread Cristian Thiago Moecke
I have a file server with windows and I am creating a new Fedora Core 3 
+ Samba 3.0.10-1.fc3 file server...
But i have many, many files that have chars like ç, ã, é in their 
name... When I move the files to the Samba server, all that unicode 
chars are changed to ?
I need a solution for that to move on, because my boss will not like to 
stop using that chars...

Thanks for any help
Cristian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problems with unicode filenames

2005-04-26 Thread Cristian Thiago Moecke
charset = UTF8 gives me that error:
Unknown parameter encountered: charset
Ignoring unknown parameter charset
Cristian
Do you have unix charset = UTF8 in smb.conf?
-Marc
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-
[EMAIL PROTECTED] On Behalf Of Cristian
Thiago Moecke
Sent: Tuesday, April 26, 2005 10:01 AM
To: samba@lists.samba.org
Subject: [Samba] Problems with unicode filenames
I have a file server with windows and I am creating a new Fedora Core 3
+ Samba 3.0.10-1.fc3 file server...
But i have many, many files that have chars like ç, ã, é in their
name... When I move the files to the Samba server, all that unicode
chars are changed to ?
I need a solution for that to move on, because my boss will not like to
stop using that chars...
Thanks for any help
Cristian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samb
a
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problems with unicode filenames

2005-04-26 Thread Cristian Thiago Moecke
Ok, sorry..,.. i have set unix charset now
I still have problems with smbmounted Windows NT shares...
[]'s
Cristian
Cristian, acho que ele estava falando de :
unix charsert = UTF8
abraco,
BM
On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote:
 

charset = UTF8 gives me that error:
Unknown parameter encountered: charset
Ignoring unknown parameter charset
Cristian
   

Do you have unix charset = UTF8 in smb.conf?
 -Marc

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-
[EMAIL PROTECTED] On Behalf Of Cristian
Thiago Moecke
Sent: Tuesday, April 26, 2005 10:01 AM
To: samba@lists.samba.org
Subject: [Samba] Problems with unicode filenames
I have a file server with windows and I am creating a new Fedora Core 3
+ Samba 3.0.10-1.fc3 file server...
But i have many, many files that have chars like ç, ã, é in their
name... When I move the files to the Samba server, all that unicode
chars are changed to ?
I need a solution for that to move on, because my boss will not like to
stop using that chars...
Thanks for any help
Cristian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samb
   

a
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


SOLVED Re: [Samba] Problems with unicode filenames

2005-04-26 Thread Cristian Thiago Moecke
Thanks a lot, problem solved! cifs works just fine! :D
Cristian
Kaplan, Marc wrote:
Oh, you're using smbmount -- you didn't say so previously. As far as I know, 
smbmount doesn't support Unicode (can somebody confirm?), so you'll have to use 
the smbmount replacement, mount.cifs. See: 
http://www.samba.org/samba/docs/man/mount.cifs.8.html
-Marc
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-
[EMAIL PROTECTED] On Behalf Of Cristian
Thiago Moecke
Sent: Tuesday, April 26, 2005 11:00 AM
To: samba@lists.samba.org
Subject: Re: [Samba] Problems with unicode filenames
Ok, sorry..,.. i have set unix charset now
I still have problems with smbmounted Windows NT shares...
[]'s
Cristian
   

Cristian, acho que ele estava falando de :
unix charsert = UTF8
abraco,
BM
On 4/26/05, Cristian Thiago Moecke [EMAIL PROTECTED] wrote:
 

charset = UTF8 gives me that error:
Unknown parameter encountered: charset
Ignoring unknown parameter charset
Cristian

   

Do you have unix charset = UTF8 in smb.conf?
-Marc


 

-Original Message-
From: [EMAIL PROTECTED]
   

[mailto:samba-
   

[EMAIL PROTECTED] On Behalf Of Cristian
Thiago Moecke
Sent: Tuesday, April 26, 2005 10:01 AM
To: samba@lists.samba.org
Subject: [Samba] Problems with unicode filenames
I have a file server with windows and I am creating a new Fedora Core
   

3
   

+ Samba 3.0.10-1.fc3 file server...
But i have many, many files that have chars like ç, ã, é in their
name... When I move the files to the Samba server, all that unicode
chars are changed to ?
I need a solution for that to move on, because my boss will not like
   

to
   

stop using that chars...
Thanks for any help
Cristian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samb

   

a

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

   

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samb
a
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Pam mkhomedir - Permissions

2005-04-19 Thread Cristian Thiago Moecke
I would like to set special permissions (ACL) when pam autocreates my 
home dirs in samba. I think i should use a script for that. My question 
is: how can I make pam run a bash script after it creates the homedir?

Thanks
Cristian
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows ask for password when i try to access home shares

2005-04-01 Thread Cristian Thiago Moecke
Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked for
me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I guess
(the getent and wbinfo commands return what they should return, and I can
set the permissions of dirs to domain accounts... i loved that, by the
way, when I decided to use samba I was not expecting this kind of thing!
Very very nice :D), but... i am having problems setting up the homes...

I had set up pam to create the home dirs, and now when I log in a Windows
workstation and acces the samba server, it shows a dir of the username. If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows ask for password when i try to access home shares

2005-04-01 Thread Cristian Thiago Moecke
Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked for
me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I guess
(the getent and wbinfo commands return what they should return, and I can
set the permissions of dirs to domain accounts... i loved that, by the
way, when I decided to use samba I was not expecting this kind of thing!
Very very nice :D), but... i am having problems setting up the homes...

I had set up pam to create the home dirs, and now when I log in a Windows
workstation and acces the samba server, it shows a dir of the username. If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows ask for password when i try to access home shares

2005-04-01 Thread Cristian Thiago Moecke
Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked for
me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I guess
(the getent and wbinfo commands return what they should return, and I can
set the permissions of dirs to domain accounts... i loved that, by the
way, when I decided to use samba I was not expecting this kind of thing!
Very very nice :D), but... i am having problems setting up the homes...

I had set up pam to create the home dirs, and now when I log in a Windows
workstation and acces the samba server, it shows a dir of the username. If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows ask for password when i try to access home shares

2005-04-01 Thread Cristian Thiago Moecke
Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked for
me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I guess
(the getent and wbinfo commands return what they should return, and I can
set the permissions of dirs to domain accounts... i loved that, by the
way, when I decided to use samba I was not expecting this kind of thing!
Very very nice :D), but... i am having problems setting up the homes...

I had set up pam to create the home dirs, and now when I log in a Windows
workstation and acces the samba server, it shows a dir of the username. If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Windows ask for password when i try to access home shares

2005-04-01 Thread Cristian Thiago Moecke
Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked for
me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I guess
(the getent and wbinfo commands return what they should return, and I can
set the permissions of dirs to domain accounts... i loved that, by the
way, when I decided to use samba I was not expecting this kind of thing!
Very very nice :D), but... i am having problems setting up the homes...

I had set up pam to create the home dirs, and now when I log in a Windows
workstation and acces the samba server, it shows a dir of the username. If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows ask for password when i try to access home

2005-04-01 Thread Cristian Thiago Moecke

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC

[EMAIL PROTECTED] LMP]# ls -lt
total 8
drwxr-xr-x  2 LMP\moecke LMP\Domain Users 4096 Abr  1 14:37 moecke
drwxr-xr-x  2 LMP\teste  LMP\Domain Users 4096 Abr  1 14:31 teste
[EMAIL PROTECTED] LMP]#

There are the permissions... something wrong about it?

And ACLs... hmmm... is there any good documentation about it? Maybe is an
stupid question but... Why exactly i will need it?

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC

 Cristian Thiago Moecke wrote:

Ok, firist of all, thanks for the DONT USE SWAT!!! tip... it worked
for me, very fine! :D
Now I have the Linux box in my domain, winbind is runing just fine I
 guess
(the getent and wbinfo commands return what they should return, and I
can set the permissions of dirs to domain accounts... i loved that, by
the way, when I decided to use samba I was not expecting this kind of
thing! Very very nice :D), but... i am having problems setting up the
homes...

I had set up pam to create the home dirs, and now when I log in a
Windows workstation and acces the samba server, it shows a dir of the
username.
 If
I try to acces it, it creates a dir in the directory i set PAM to do it
(/home/MYDOMAIN/username) but it aasks for a password! And I tyed many
passwords and no one worked... I found a lot of questions like that in
internet but no answers. Could someone help me on that?


 Check directory permissions.  Also, you probably want to set up ACLs.

Thanks
Cristian










-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Error when add Samba 3.0.10-1.fc3 to Windows NT Domain

2005-03-31 Thread Cristian Thiago Moecke
I am trying to install a File server using samba on a NT 4.0 domain.
I will call the domain DOMAIN, the pec PDC, the samba file server SAMBA,
and so on... :D

The linux is an updated Fedora Core 3, and the samba version is 3.0.10-1.fc3

I used SWAT to configure. Here is some lines of my smb.conf:

workgroup = DOMAIN
server string = SAMBA
interfaces = eth
security = domain

Then i looked on the interrnet how to add it to a domain, and found that:
# net join member -S IP_OF_PDC -U moecke
[2005/03/31 15:44:45, 0] lib/interface.c:load_interfaces(220)
  WARNING: no network interfaces found
moecke's password:
[2005/03/31 15:44:53, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Argumento inválido
[2005/03/31 15:44:53, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
  cli_nt_setup_creds: request challenge failed
[2005/03/31 15:44:54, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
  cli_nt_setup_creds: request challenge failed
[2005/03/31 15:44:54, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
  Error domain join verification (reused connection):
NT_STATUS_INVALID_COMPUTER_NAME

Unable to join domain LMP.

I get this errors... I found many things about it on internet, but nothing
helped me. What should I do???

Thanks
Cristian

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


One more detail... [Samba] Error when add Samba 3.0.10-1.fc3 to

2005-03-31 Thread Cristian Thiago Moecke
I noticed that the SAMBA account is created in the Server Manager in the
NT PDC, but it appears as a offline computer.

-- 
Cristian Thiago Moecke
CPD do Laboratório de Mecânica de Precisão - UFSC

 I am trying to install a File server using samba on a NT 4.0 domain.
 I will call the domain DOMAIN, the pec PDC, the samba file server SAMBA,
 and so on... :D

 The linux is an updated Fedora Core 3, and the samba version is
 3.0.10-1.fc3

 I used SWAT to configure. Here is some lines of my smb.conf:

 workgroup = DOMAIN
 server string = SAMBA
 interfaces = eth
 security = domain

 Then i looked on the interrnet how to add it to a domain, and found that:
 # net join member -S IP_OF_PDC -U moecke
 [2005/03/31 15:44:45, 0] lib/interface.c:load_interfaces(220)
   WARNING: no network interfaces found
 moecke's password:
 [2005/03/31 15:44:53, 0] utils/net_ads.c:ads_startup(186)
   ads_connect: Argumento inválido
 [2005/03/31 15:44:53, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
   cli_nt_setup_creds: request challenge failed
 [2005/03/31 15:44:54, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(256)
   cli_nt_setup_creds: request challenge failed
 [2005/03/31 15:44:54, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319)
   Error domain join verification (reused connection):
 NT_STATUS_INVALID_COMPUTER_NAME

 Unable to join domain LMP.

 I get this errors... I found many things about it on internet, but nothing
 helped me. What should I do???

 Thanks
 Cristian

 --
 Cristian Thiago Moecke
 CPD do Laboratório de Mecânica de Precisão - UFSC



 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba