Re: Default name for domain



Many thanks, I'll try that.

Pablo

On Wed, 21 Mar 2007 22:00:19 -0300, Sue Hoegemeier <Sue_H@xxxxxxxxxxxxx> wrote:

One option is to use variables and dynamically build the
SQL statements to create the logins. You can get the server
name using
select @@servername
You can use that to build the login names specific for a
machine.

-Sue

On Wed, 21 Mar 2007 18:31:41 -0300, "Pablo Montilla"
<melkor@xxxxxxxxxxxxxx> wrote:

Hello, I'm creating a script that will create logins for groups of a
windows machine, and I want to know if there's a way for me not to have to
specify the machine domain name.

Something like the '.\sqlexpress' name to identify the sqlexpress instance
in running in the local machine:

CREATE LOGIN [.\O2 - Viewer] FROM WINDOWS

Does something like this exist?

Regards,
Pablo Montilla



.



Relevant Pages

  • gdm hangs
    ... gdm will hang 9 of 10 times when logging out. ... with or without the client having been connected to the Server. ... # Timed login, useful for kiosks. ... Must output the chosen host on stdout, ...
    (Debian-User)
  • RE: OWA 2003 with ISA 2004
    ... OWA externally. ... i can login by any user. ... 825763 How to configure Internet access in Windows Small Business Server ... g. Reproduce this issue and send the logs to me. ...
    (microsoft.public.windows.server.sbs)
  • Re: Compromised Server? Anyone recognize the suspect Services?
    ... there are a bunch of logins for Website Accounts created by the ... The login accounts are for web sites that are on the ... Server management is ... right under Network Connections there were 3 ...
    (microsoft.public.windows.server.networking)
  • Re: IIS 6.0 FTP
    ... Server port: 21. ... I doubt IIS FTP has such feature. ... next, general 530 error indicating login failed, that could due to ... clients are using an order entry program created in Microsoft access. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Terminal Services Setup/Flaw
    ... This still allows everyone to hit the TS Server but denies the login to ... Terminal Server with this user and then .rdp into another server on the ... I found the Remote ...
    (microsoft.public.windows.terminal_services)