Re: [Samba] Samba Domain Rename

2013-07-03 Thread Frostyfrog
Yeah, I've never fully set up a samba *checks samba version* 4 domain. What
I suggested was what I thought might work. I guess it's time for me to
completely set things up and see how it works.

~Frostyfrog
>From a friendly web page developer.
^.^


On Tue, Jul 2, 2013 at 2:52 AM, Michael Wood  wrote:

> If Sandeep is running Samba 4 as an Active Directory domain controller,
> then I very much doubt that just editing the workgroup setting in smb.conf
> will fix it.  There are e.g. files in the samba private directory named
> after the domain and also containing the name of the domain.
>
> I don't know if there's a straightforward way of renaming the domain.  I
> suspect there isn't.
>
> Sandeep, if you don't get a good answer here, you could try getting the
> attention of one of the Samba developers on the IRC channel, perhaps.
>
>
> On 2 July 2013 07:49, Frostyfrog  wrote:
>
>> I'm not sure which distro you are using (I use Archlinux), but these steps
>> should work if you have command line access (press the key surrounded in
>> <>
>> when there is one, don't type the <> or the stuff inside):
>>
>> 1. Login to the server
>> 2. type: vim /etc/samba/smb.conf
>> 3. type: /workgroup =
>> (If that doesn't work, try it without the equals)
>> 4. press the arrow keys until it is placed just after the equals
>> 5. type c$
>> 6. type in what you want the new domain name to be
>> 7. press 
>> 8. type: :wq
>> 9. restart samba
>>
>> Disclaimer: These steps are not for those who have no idea what they are
>> doing (although it may seem that way), please proceed with caution.
>>
>> ~Frostyfrog
>> From a friendly web page developer.
>> ^.^
>>
>> On Mon, Jul 1, 2013 at 11:24 PM, Sandeep Kumar > >wrote:
>>
>> > Hi Team,
>> >
>> > I am using  samba 4 Domain in my production environment and everything
>> is
>> > working fine but now for some reason I have to rename the domain
>> >
>> > Can you please help on this, I need to do this asap
>> >
>> > Waiting for your response………
>> >
>> > Many Thanks,
>> > Sandeep Kumar
>> > *Arbor Financial Systems Ltd*
>> > Direct: +91 172 400 6144
>> > Support: +44 (0) 203 070 9650
>> > www.arborfs.com
>>
>
> --
> Michael Wood 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] string_to_sid: SID is not in a valid format

2013-07-01 Thread Frostyfrog
I'm not quite sure why this is happening, I used to be able to connect
perfectly fine to my share. Then I updated and rebooted and now I'm greeted
with this message, and a login prompt where my credentials are never
accepted.

[http]
  comment = HTTPD Server
  path = /srv/http
  writable = no
  public = no
  browsable = no
  valid users = frostyfrog
  write list = frostyfrog
  force user = http
  force group = http

# smbd -i -d3

get_referred_path: |http| in dfs path \X.X.X.X\http is not a dfs root.
Allowed connection from X.X.X.X (X.X.X.X)
string_to_sid: SID frostyfrog is not in a valid format
Forcing Primary Group to 'Domain Users' for frostyfrog
Forcing Primary Group to 'Domain Users' for http
Forced user http
Forced group http
Connect path is '/srv/http' for service [http]
string_to_sid: SID frostyfrog is not in a valid format
Forcing Primary Group to 'Domain Users' for frostyfrog
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba Domain Rename

2013-07-01 Thread Frostyfrog
I'm not sure which distro you are using (I use Archlinux), but these steps
should work if you have command line access (press the key surrounded in <>
when there is one, don't type the <> or the stuff inside):

1. Login to the server
2. type: vim /etc/samba/smb.conf
3. type: /workgroup =
(If that doesn't work, try it without the equals)
4. press the arrow keys until it is placed just after the equals
5. type c$
6. type in what you want the new domain name to be
7. press 
8. type: :wq
9. restart samba

Disclaimer: These steps are not for those who have no idea what they are
doing (although it may seem that way), please proceed with caution.

~Frostyfrog
>From a friendly web page developer.
^.^


On Mon, Jul 1, 2013 at 11:24 PM, Sandeep Kumar wrote:

> Hi Team,
>
>
>
> I am using  samba 4 Domain in my production environment and everything is
> working fine but now for some reason I have to rename the domain
>
>
>
> Can you please help on this, I need to do this asap
>
>
>
> Waiting for your response………
>
>
>
>
>
> Many Thanks,
>
> Sandeep Kumar
>
> *Arbor Financial Systems Ltd*
>
> Direct: +91 172 400 6144
>
> Support: +44 (0) 203 070 9650
>
> www.arborfs.com
>
> --
>
>
> www.arborfs.com
>
> This e-mail and any attachment are confidential and contain proprietary
> information, some or all of which may be legally privileged.
>
> It is intended solely for the use of the individual or entity to which it
> is addressed.  If you are not the intended recipient, please notify the
> author immediately by telephone or by replying to this e-mail, and then
> delete all copies of the e-mail on your system.  If you are not the
> intended recipient, you must not use, disclose, distribute, copy, print or
> rely on this e-mail.
>
> Whilst we have taken reasonable precautions to ensure that this e-mail and
> any attachment has been checked for viruses, we cannot guarantee that they
> are virus free and we cannot accept liability for any damage sustained as a
> result of software viruses.  We would advise that you carry out your own
> virus checks, especially before opening an attachment.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] string_to_sid: SID is not in a valid format

2013-07-01 Thread Frostyfrog
I'm not quite sure why this is happening, I used to be able to connect
perfectly fine to my share. Then I updated and rebooted and now I'm greeted
with this message, and a login prompt where my credentials are never
accepted.

[http]
  comment = HTTPD Server
  path = /srv/http
  writable = no
  public = no
  browsable = no
  valid users = frostyfrog
  write list = frostyfrog
  force user = http
  force group = http

# smbd -i -d3

get_referred_path: |http| in dfs path \X.X.X.X\http is not a dfs root.
Allowed connection from X.X.X.X (X.X.X.X)
string_to_sid: SID frostyfrog is not in a valid format
Forcing Primary Group to 'Domain Users' for frostyfrog
Forcing Primary Group to 'Domain Users' for http
Forced user http
Forced group http
Connect path is '/srv/http' for service [http]
string_to_sid: SID frostyfrog is not in a valid format
Forcing Primary Group to 'Domain Users' for frostyfrog
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba